PostgreSQL Source Code
git master
|
#include "libpq-fe.h"
#include "miscadmin.h"
#include "storage/fd.h"
#include "storage/latch.h"
#include "utils/wait_event.h"
Go to the source code of this file.
Functions | |
static void | libpqsrv_connect_prepare (void) |
static void | libpqsrv_connect_internal (PGconn *conn, uint32 wait_event_info) |
static PGconn * | libpqsrv_connect (const char *conninfo, uint32 wait_event_info) |
static PGconn * | libpqsrv_connect_params (const char *const *keywords, const char *const *values, int expand_dbname, uint32 wait_event_info) |
static void | libpqsrv_disconnect (PGconn *conn) |
Definition at line 63 of file libpq-be-fe-helpers.h.
References conn, libpqsrv_connect_internal(), libpqsrv_connect_prepare(), and PQconnectStart().
Referenced by dblink_connect(), and dblink_get_conn().
Definition at line 157 of file libpq-be-fe-helpers.h.
References CHECK_FOR_INTERRUPTS, conn, CONNECTION_BAD, CONNECTION_STARTED, MyLatch, PG_CATCH, PG_END_TRY, PG_RE_THROW, PG_TRY, PGRES_POLLING_FAILED, PGRES_POLLING_OK, PGRES_POLLING_READING, PGRES_POLLING_WRITING, PQconnectPoll(), PQfinish(), PQsocket(), PQstatus(), ReleaseExternalFD(), ResetLatch(), WaitLatchOrSocket(), WL_EXIT_ON_PM_DEATH, WL_LATCH_SET, WL_SOCKET_CONNECTED, WL_SOCKET_READABLE, and WL_SOCKET_WRITEABLE.
Referenced by libpqsrv_connect(), and libpqsrv_connect_params().
|
inlinestatic |
Definition at line 81 of file libpq-be-fe-helpers.h.
References conn, libpqsrv_connect_internal(), libpqsrv_connect_prepare(), PQconnectStartParams(), and values.
Referenced by connect_pg_server(), and libpqrcv_connect().
|
inlinestatic |
Definition at line 128 of file libpq-be-fe-helpers.h.
References AcquireExternalFD(), ereport, errcode(), errdetail(), errhint(), errmsg(), and ERROR.
Referenced by libpqsrv_connect(), and libpqsrv_connect_params().
|
inlinestatic |
Definition at line 104 of file libpq-be-fe-helpers.h.
References conn, PQfinish(), and ReleaseExternalFD().
Referenced by connect_pg_server(), createNewConnection(), dblink_connect(), dblink_disconnect(), dblink_exec(), dblink_get_conn(), dblink_record_internal(), dblink_security_check(), disconnect_pg_server(), libpqrcv_connect(), and libpqrcv_disconnect().