PostgreSQL Source Code
git master
|
#include <sys/time.h>
#include <netinet/tcp.h>
#include "datatype/timestamp.h"
#include "libpq/hba.h"
#include "libpq/pqcomm.h"
Go to the source code of this file.
Data Structures | |
struct | ClientConnectionInfo |
struct | Port |
struct | ClientSocket |
Typedefs | |
typedef struct ClientConnectionInfo | ClientConnectionInfo |
typedef struct Port | Port |
typedef struct ClientSocket | ClientSocket |
Functions | |
int | pq_getkeepalivesidle (Port *port) |
int | pq_getkeepalivesinterval (Port *port) |
int | pq_getkeepalivescount (Port *port) |
int | pq_gettcpusertimeout (Port *port) |
int | pq_setkeepalivesidle (int idle, Port *port) |
int | pq_setkeepalivesinterval (int interval, Port *port) |
int | pq_setkeepalivescount (int count, Port *port) |
int | pq_settcpusertimeout (int timeout, Port *port) |
Variables | |
PGDLLIMPORT ProtocolVersion | FrontendProtocol |
PGDLLIMPORT ClientConnectionInfo | MyClientConnectionInfo |
typedef struct ClientConnectionInfo ClientConnectionInfo |
typedef struct ClientSocket ClientSocket |
int pq_getkeepalivescount | ( | Port * | port | ) |
Definition at line 1799 of file pqcomm.c.
References ereport, errmsg(), LOG, port, and size.
Referenced by pq_setkeepalivescount(), and show_tcp_keepalives_count().
int pq_getkeepalivesidle | ( | Port * | port | ) |
Definition at line 1630 of file pqcomm.c.
References ereport, errmsg(), LOG, port, and size.
Referenced by pq_setkeepalivesidle(), and show_tcp_keepalives_idle().
int pq_getkeepalivesinterval | ( | Port * | port | ) |
Definition at line 1715 of file pqcomm.c.
References ereport, errmsg(), LOG, port, and size.
Referenced by pq_setkeepalivesinterval(), and show_tcp_keepalives_interval().
int pq_gettcpusertimeout | ( | Port * | port | ) |
Definition at line 1874 of file pqcomm.c.
References ereport, errmsg(), LOG, port, and size.
Referenced by pq_settcpusertimeout(), and show_tcp_user_timeout().
int pq_setkeepalivescount | ( | int | count, |
Port * | port | ||
) |
Definition at line 1829 of file pqcomm.c.
References ereport, errmsg(), LOG, port, pq_getkeepalivescount(), STATUS_ERROR, and STATUS_OK.
Referenced by assign_tcp_keepalives_count(), and pq_init().
int pq_setkeepalivesidle | ( | int | idle, |
Port * | port | ||
) |
Definition at line 1665 of file pqcomm.c.
References ereport, errmsg(), LOG, port, pq_getkeepalivesidle(), STATUS_ERROR, and STATUS_OK.
Referenced by assign_tcp_keepalives_idle(), and pq_init().
int pq_setkeepalivesinterval | ( | int | interval, |
Port * | port | ||
) |
Definition at line 1750 of file pqcomm.c.
References ereport, errmsg(), LOG, port, pq_getkeepalivesinterval(), STATUS_ERROR, and STATUS_OK.
Referenced by assign_tcp_keepalives_interval(), and pq_init().
int pq_settcpusertimeout | ( | int | timeout, |
Port * | port | ||
) |
Definition at line 1904 of file pqcomm.c.
References ereport, errmsg(), LOG, port, pq_gettcpusertimeout(), STATUS_ERROR, and STATUS_OK.
Referenced by assign_tcp_user_timeout(), and pq_init().
|
extern |
Definition at line 29 of file globals.c.
Referenced by BackendInitialize(), pq_redirect_to_shm_mq(), process_postgres_switches(), ProcessStartupPacket(), send_message_to_frontend(), and SendNegotiateProtocolVersion().
|
extern |
Definition at line 1071 of file miscinit.c.
Referenced by auth_peer(), ClientAuthentication(), EstimateClientConnectionInfoSpace(), InitPostgres(), ParallelWorkerMain(), RestoreClientConnectionInfo(), SerializeClientConnectionInfo(), and set_authn_id().