65 conninfo =
"dbname = postgres";
79 "SELECT pg_catalog.set_config('search_path', '', false)");
136 "ASYNC NOTIFY of '%s' received from backend PID %d\n",
#define fprintf(file, fmt, msg)
PGconn * PQconnectdb(const char *conninfo)
ConnStatusType PQstatus(const PGconn *conn)
void PQfinish(PGconn *conn)
char * PQerrorMessage(const PGconn *conn)
int PQsocket(const PGconn *conn)
void PQfreemem(void *ptr)
int PQconsumeInput(PGconn *conn)
PGresult * PQexec(PGconn *conn, const char *query)
PGnotify * PQnotifies(PGconn *conn)
static void exit_nicely(PGconn *conn)
#define select(n, r, w, e, timeout)