PostgreSQL Source Code
git master
|
#include <libpq-be.h>
Data Fields | |
pgsocket | sock |
bool | noblock |
ProtocolVersion | proto |
SockAddr | laddr |
SockAddr | raddr |
char * | remote_host |
char * | remote_hostname |
int | remote_hostname_resolv |
int | remote_hostname_errcode |
char * | remote_port |
CAC_state | canAcceptConnections |
char * | database_name |
char * | user_name |
char * | cmdline_options |
List * | guc_options |
char * | application_name |
HbaLine * | hba |
int | default_keepalives_idle |
int | default_keepalives_interval |
int | default_keepalives_count |
int | default_tcp_user_timeout |
int | keepalives_idle |
int | keepalives_interval |
int | keepalives_count |
int | tcp_user_timeout |
void * | gss |
bool | ssl_in_use |
char * | peer_cn |
bool | peer_cert_valid |
Definition at line 120 of file libpq-be.h.
char* Port::application_name |
Definition at line 150 of file libpq-be.h.
Referenced by PerformAuthentication(), and ProcessStartupPacket().
CAC_state Port::canAcceptConnections |
Definition at line 133 of file libpq-be.h.
Referenced by BackendStartup(), InitPostgres(), and ProcessStartupPacket().
char* Port::cmdline_options |
Definition at line 142 of file libpq-be.h.
Referenced by process_startup_options(), and ProcessStartupPacket().
char* Port::database_name |
Definition at line 140 of file libpq-be.h.
Referenced by BackendInitialize(), BackendRun(), check_hba(), ClientAuthentication(), log_disconnections(), log_line_prefix(), PerformAuthentication(), ProcessStartupPacket(), and write_csvlog().
int Port::default_keepalives_count |
Definition at line 166 of file libpq-be.h.
Referenced by pq_getkeepalivescount(), and pq_setkeepalivescount().
int Port::default_keepalives_idle |
Definition at line 164 of file libpq-be.h.
Referenced by pq_getkeepalivesidle(), and pq_setkeepalivesidle().
int Port::default_keepalives_interval |
Definition at line 165 of file libpq-be.h.
Referenced by pq_getkeepalivesinterval(), and pq_setkeepalivesinterval().
int Port::default_tcp_user_timeout |
Definition at line 167 of file libpq-be.h.
Referenced by pq_gettcpusertimeout(), and pq_settcpusertimeout().
void* Port::gss |
Definition at line 185 of file libpq-be.h.
Referenced by be_gssapi_get_auth(), be_gssapi_get_enc(), be_gssapi_get_princ(), be_gssapi_read(), be_gssapi_write(), check_hba(), CheckSCRAMAuth(), ClientAuthentication(), PerformAuthentication(), pgstat_bestart(), secure_open_gssapi(), secure_read(), secure_write(), and socket_close().
List* Port::guc_options |
Definition at line 143 of file libpq-be.h.
Referenced by process_startup_options(), and ProcessStartupPacket().
HbaLine* Port::hba |
Definition at line 155 of file libpq-be.h.
Referenced by auth_failed(), auth_peer(), check_hba(), CheckPWChallengeAuth(), CheckRADIUSAuth(), CheckSCRAMAuth(), ClientAuthentication(), and ident_inet().
int Port::keepalives_count |
Definition at line 170 of file libpq-be.h.
Referenced by pq_getkeepalivescount(), and pq_setkeepalivescount().
int Port::keepalives_idle |
Definition at line 168 of file libpq-be.h.
Referenced by pq_getkeepalivesidle(), pq_setkeepalivesidle(), pq_setkeepalivesinterval(), and socket_endcopyout().
int Port::keepalives_interval |
Definition at line 169 of file libpq-be.h.
Referenced by pq_getkeepalivesinterval(), pq_setkeepalivesidle(), pq_setkeepalivesinterval(), and socket_endcopyout().
SockAddr Port::laddr |
Definition at line 125 of file libpq-be.h.
Referenced by ident_inet(), inet_server_addr(), inet_server_port(), pq_getkeepalivescount(), pq_getkeepalivesidle(), pq_getkeepalivesinterval(), pq_gettcpusertimeout(), pq_setkeepalivescount(), pq_setkeepalivesidle(), pq_setkeepalivesinterval(), pq_settcpusertimeout(), ProcessStartupPacket(), and StreamConnection().
bool Port::noblock |
Definition at line 123 of file libpq-be.h.
Referenced by be_tls_open_server(), and socket_set_nonblocking().
bool Port::peer_cert_valid |
Definition at line 193 of file libpq-be.h.
Referenced by be_tls_open_server(), ClientAuthentication(), ssl_client_cert_present(), ssl_client_dn(), ssl_client_dn_field(), ssl_client_serial(), and ssl_issuer_dn().
char* Port::peer_cn |
Definition at line 192 of file libpq-be.h.
Referenced by auth_peer(), be_tls_close(), be_tls_open_server(), and secure_open_server().
ProtocolVersion Port::proto |
Definition at line 124 of file libpq-be.h.
Referenced by ProcessStartupPacket(), and recv_password_packet().
SockAddr Port::raddr |
Definition at line 126 of file libpq-be.h.
Referenced by auth_peer(), BackendInitialize(), check_hba(), check_hostname(), ClientAuthentication(), ident_inet(), inet_client_addr(), inet_client_port(), pgstat_bestart(), and StreamConnection().
char* Port::remote_host |
Definition at line 127 of file libpq-be.h.
Referenced by BackendInitialize(), log_disconnections(), log_line_prefix(), and write_csvlog().
char* Port::remote_hostname |
Definition at line 128 of file libpq-be.h.
Referenced by BackendInitialize(), check_hostname(), and pgstat_bestart().
int Port::remote_hostname_errcode |
Definition at line 131 of file libpq-be.h.
Referenced by check_hostname().
int Port::remote_hostname_resolv |
Definition at line 130 of file libpq-be.h.
Referenced by check_hostname().
char* Port::remote_port |
Definition at line 132 of file libpq-be.h.
Referenced by BackendInitialize(), log_disconnections(), log_line_prefix(), and write_csvlog().
pgsocket Port::sock |
Definition at line 122 of file libpq-be.h.
Referenced by auth_peer(), BackendStartup(), be_tls_open_server(), ConnCreate(), PostmasterMarkPIDForWorkerNotify(), pq_getkeepalivescount(), pq_getkeepalivesidle(), pq_getkeepalivesinterval(), pq_gettcpusertimeout(), pq_init(), pq_setkeepalivescount(), pq_setkeepalivesidle(), pq_setkeepalivesinterval(), pq_settcpusertimeout(), ProcessStartupPacket(), read_or_wait(), report_fork_failure_to_client(), secure_open_gssapi(), secure_raw_read(), secure_raw_write(), ServerLoop(), socket_close(), socket_endcopyout(), StreamConnection(), WalSndLoop(), WalSndWaitForWal(), and WalSndWriteData().
bool Port::ssl_in_use |
Definition at line 191 of file libpq-be.h.
Referenced by be_tls_close(), be_tls_open_server(), check_hba(), ClientAuthentication(), PerformAuthentication(), pg_be_scram_get_mechanisms(), pg_be_scram_init(), pgstat_bestart(), read_client_first_message(), secure_close(), secure_read(), secure_write(), ssl_cipher(), ssl_client_dn(), ssl_client_dn_field(), ssl_client_serial(), ssl_is_used(), ssl_issuer_dn(), and ssl_version().
int Port::tcp_user_timeout |
Definition at line 171 of file libpq-be.h.
Referenced by pq_gettcpusertimeout(), and pq_settcpusertimeout().
char* Port::user_name |
Definition at line 141 of file libpq-be.h.
Referenced by auth_failed(), auth_peer(), BackendInitialize(), BackendRun(), check_hba(), CheckMD5Auth(), CheckPasswordAuth(), CheckPWChallengeAuth(), CheckRADIUSAuth(), CheckSCRAMAuth(), ClientAuthentication(), ident_inet(), log_disconnections(), log_line_prefix(), PerformAuthentication(), pg_be_scram_init(), ProcessStartupPacket(), and write_csvlog().