'defines' |
| #define | FD_CLOEXEC 1 |
| #define | PGPASSFILE ".pgpass" |
| #define | DefaultHost "localhost" |
| #define | DefaultTty "" |
| #define | DefaultOption "" |
| #define | DefaultAuthtype "" |
| #define | DefaultPassword "" |
| #define | DefaultSSLMode "disable" |
| #define | MAXBUFSIZE 256 |
| #define | LINELEN NAMEDATALEN*5 |
Funciones |
| PGconn * | PQconnectdb (const char *conninfo) |
| PGconn * | PQconnectStart (const char *conninfo) |
| PQconninfoOption * | PQconndefaults (void) |
| PGconn * | PQsetdbLogin (const char *pghost, const char *pgport, const char *pgoptions, const char *pgtty, const char *dbName, const char *login, const char *pwd) |
| PostgresPollingStatusType | PQconnectPoll (PGconn *conn) |
| void | PQfinish (PGconn *conn) |
| void | PQreset (PGconn *conn) |
| int | PQresetStart (PGconn *conn) |
| PostgresPollingStatusType | PQresetPoll (PGconn *conn) |
| PGcancel * | PQgetCancel (PGconn *conn) |
| void | PQfreeCancel (PGcancel *cancel) |
| int | PQcancel (PGcancel *cancel, char *errbuf, int errbufsize) |
| int | PQrequestCancel (PGconn *conn) |
| int | pqPacketSend (PGconn *conn, char pack_type, const void *buf, size_t buf_len) |
| void | PQconninfoFree (PQconninfoOption *connOptions) |
| char * | PQdb (const PGconn *conn) |
| char * | PQuser (const PGconn *conn) |
| char * | PQpass (const PGconn *conn) |
| char * | PQhost (const PGconn *conn) |
| char * | PQport (const PGconn *conn) |
| char * | PQtty (const PGconn *conn) |
| char * | PQoptions (const PGconn *conn) |
| ConnStatusType | PQstatus (const PGconn *conn) |
| PGTransactionStatusType | PQtransactionStatus (const PGconn *conn) |
| const char * | PQparameterStatus (const PGconn *conn, const char *paramName) |
| int | PQprotocolVersion (const PGconn *conn) |
| int | PQserverVersion (const PGconn *conn) |
| char * | PQerrorMessage (const PGconn *conn) |
| int | PQsocket (const PGconn *conn) |
| int | PQbackendPID (const PGconn *conn) |
| int | PQclientEncoding (const PGconn *conn) |
| int | PQsetClientEncoding (PGconn *conn, const char *encoding) |
| PGVerbosity | PQsetErrorVerbosity (PGconn *conn, PGVerbosity verbosity) |
| void | PQtrace (PGconn *conn, FILE *debug_port) |
| void | PQuntrace (PGconn *conn) |
| PQnoticeReceiver | PQsetNoticeReceiver (PGconn *conn, PQnoticeReceiver proc, void *arg) |
| PQnoticeProcessor | PQsetNoticeProcessor (PGconn *conn, PQnoticeProcessor proc, void *arg) |
| bool | pqGetHomeDirectory (char *buf, int bufsize) |
| pgthreadlock_t | PQregisterThreadLock (pgthreadlock_t newhandler) |
Variables |
| pgthreadlock_t | pg_g_threadlock = default_threadlock |