Add infobot PostgreSQL database's function code