PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
static void | exit_nicely (PGconn *conn) |
int | main (int argc, char **argv) |
|
static |
Definition at line 14 of file testlibpq.c.
References conn, exit(), and PQfinish().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 21 of file testlibpq.c.
References conn, CONNECTION_OK, exit_nicely(), fprintf, i, j, PGRES_COMMAND_OK, PGRES_TUPLES_OK, PQclear(), PQconnectdb(), PQerrorMessage(), PQexec(), PQfinish(), PQfname(), PQgetvalue(), PQnfields(), PQntuples(), PQresultStatus(), PQstatus(), printf, and res.