|
PostgreSQL Source Code git master
|
#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <string.h>#include <sys/types.h>#include "libpq-fe.h"#include <netinet/in.h>#include <arpa/inet.h>
Go to the source code of this file.
Functions | |
| static void | exit_nicely (PGconn *conn) |
| static void | show_binary_results (PGresult *res) |
| int | main (int argc, char **argv) |
|
static |
Definition at line 48 of file testlibpq3.c.
References conn, and PQfinish().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 115 of file testlibpq3.c.
References conn, CONNECTION_OK, exit_nicely(), fprintf, PGRES_COMMAND_OK, PGRES_TUPLES_OK, PQclear, PQconnectdb(), PQerrorMessage(), PQexec(), PQexecParams(), PQfinish(), PQresultStatus, PQstatus(), and show_binary_results().
|
static |
Definition at line 60 of file testlibpq3.c.
References i, j, PQfnumber(), PQgetlength, PQgetvalue, PQntuples, and printf.
Referenced by main().