|
PostgreSQL Source Code git master
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <sys/select.h>#include <sys/time.h>#include <sys/types.h>#include "libpq-fe.h"
Go to the source code of this file.
Functions | |
| static void | exit_nicely (PGconn *conn) |
| int | main (int argc, char **argv) |
Definition at line 42 of file testlibpq2.c.
References conn, fb(), and PQfinish().
Referenced by main().
Definition at line 49 of file testlibpq2.c.
References conn, CONNECTION_OK, exit_nicely(), fb(), fprintf, PGRES_COMMAND_OK, PGRES_TUPLES_OK, PQclear, PQconnectdb(), PQconsumeInput(), PQerrorMessage(), PQexec(), PQfinish(), PQfreemem(), PQnotifies(), PQresultStatus, PQsocket(), PQstatus(), select, and strerror.