#include "libpq/libpq-be-fe.h"
#include "miscadmin.h"
#include "storage/fd.h"
#include "storage/latch.h"
#include "utils/timestamp.h"
#include "utils/wait_event.h"
Go to the source code of this file.
Definition at line 474 of file libpq-be-fe-helpers.h.
Definition at line 475 of file libpq-be-fe-helpers.h.
Definition at line 365 of file libpq-be-fe-helpers.h.
References CHECK_FOR_INTERRUPTS, conn, error(), GetCurrentTimestamp(), MyLatch, now(), pchomp(), PG_END_TRY, PG_FINALLY, PG_TRY, PG_WAIT_CLIENT, PGRES_POLLING_OK, PGRES_POLLING_READING, PGRES_POLLING_WRITING, PQcancelCreate(), PQcancelErrorMessage(), PQcancelFinish(), PQcancelPoll(), PQcancelSocket(), PQcancelStart(), ResetLatch(), TimestampDifferenceMilliseconds(), WaitLatchOrSocket(), WL_EXIT_ON_PM_DEATH, WL_LATCH_SET, WL_SOCKET_READABLE, WL_SOCKET_WRITEABLE, and WL_TIMEOUT.
Referenced by dblink_cancel_query(), pgfdw_cancel_query_begin(), and pgfdw_get_cleanup_result().
Definition at line 56 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 150 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().
Definition at line 74 of file libpq-be-fe-helpers.h.
References conn, keywords, libpqsrv_connect_internal(), libpqsrv_connect_prepare(), PQconnectStartParams(), and values.
Referenced by connect_pg_server(), and libpqrcv_connect().
Definition at line 121 of file libpq-be-fe-helpers.h.
References AcquireExternalFD(), ereport, errcode(), errdetail(), errhint(), errmsg(), and ERROR.
Referenced by libpqsrv_connect(), and libpqsrv_connect_params().
Definition at line 97 of file libpq-be-fe-helpers.h.
References conn, PQfinish(), and ReleaseExternalFD().
Referenced by connect_pg_server(), dblink_connect(), dblink_disconnect(), dblink_exec(), dblink_get_conn(), dblink_record_internal(), dblink_security_check(), disconnect_pg_server(), libpqrcv_connect(), and libpqrcv_disconnect().
Definition at line 246 of file libpq-be-fe-helpers.h.
References conn, libpqsrv_get_result_last(), and PQsendQuery().
Referenced by dblink_close(), dblink_exec(), dblink_fetch(), dblink_open(), libpqrcv_alter_slot(), libpqrcv_connect(), libpqrcv_create_slot(), libpqrcv_exec(), libpqrcv_identify_system(), libpqrcv_readtimelinehistoryfile(), and libpqrcv_startstreaming().
Definition at line 259 of file libpq-be-fe-helpers.h.
References conn, libpqsrv_get_result_last(), and PQsendQueryParams().
Definition at line 313 of file libpq-be-fe-helpers.h.
References CHECK_FOR_INTERRUPTS, conn, MyLatch, PQconsumeInput(), PQgetResult, PQisBusy(), PQsocket(), ResetLatch(), WaitLatchOrSocket(), WL_EXIT_ON_PM_DEATH, WL_LATCH_SET, and WL_SOCKET_READABLE.
Referenced by dblink_record_internal(), libpqrcv_endstreaming(), libpqrcv_receive(), libpqsrv_get_result_last(), materializeQueryResult(), and storeQueryResult().
Definition at line 280 of file libpq-be-fe-helpers.h.
References conn, CONNECTION_BAD, libpqsrv_get_result(), PGRES_COPY_BOTH, PGRES_COPY_IN, PGRES_COPY_OUT, PQclear, PQresultStatus, and PQstatus().
Referenced by libpqsrv_exec(), libpqsrv_exec_params(), and pgfdw_get_result().
Definition at line 454 of file libpq-be-fe-helpers.h.
References arg, ereport, errmsg_internal(), len, LOG, and PQresultErrorMessage.
Referenced by connect_pg_server(), dblink_connect(), dblink_get_conn(), and libpqrcv_connect().