PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Port Struct Reference

#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
 
Listguc_options
 
HbaLinehba
 
char md5Salt [4]
 
TimestampTz SessionStartTime
 
int default_keepalives_idle
 
int default_keepalives_interval
 
int default_keepalives_count
 
int keepalives_idle
 
int keepalives_interval
 
int keepalives_count
 
void * gss
 
bool ssl_in_use
 
char * peer_cn
 
bool peer_cert_valid
 

Detailed Description

Definition at line 118 of file libpq-be.h.

Field Documentation

CAC_state Port::canAcceptConnections

Definition at line 131 of file libpq-be.h.

Referenced by BackendStartup(), InitPostgres(), and ProcessStartupPacket().

char* Port::cmdline_options

Definition at line 140 of file libpq-be.h.

Referenced by process_startup_options(), and ProcessStartupPacket().

int Port::default_keepalives_count

Definition at line 165 of file libpq-be.h.

Referenced by pq_getkeepalivescount(), and pq_setkeepalivescount().

int Port::default_keepalives_idle

Definition at line 163 of file libpq-be.h.

Referenced by pq_getkeepalivesidle(), and pq_setkeepalivesidle().

int Port::default_keepalives_interval

Definition at line 164 of file libpq-be.h.

Referenced by pq_getkeepalivesinterval(), and pq_setkeepalivesinterval().

void* Port::gss

Definition at line 178 of file libpq-be.h.

Referenced by ConnCreate(), ConnFree(), sendAuthRequest(), and socket_close().

List* Port::guc_options

Definition at line 141 of file libpq-be.h.

Referenced by process_startup_options(), and ProcessStartupPacket().

int Port::keepalives_count

Definition at line 168 of file libpq-be.h.

Referenced by pq_getkeepalivescount(), and pq_setkeepalivescount().

int Port::keepalives_idle
int Port::keepalives_interval
char Port::md5Salt[4]

Definition at line 147 of file libpq-be.h.

Referenced by ConnCreate(), md5_crypt_verify(), and sendAuthRequest().

bool Port::noblock

Definition at line 121 of file libpq-be.h.

Referenced by be_tls_open_server(), and socket_set_nonblocking().

bool Port::peer_cert_valid

Definition at line 186 of file libpq-be.h.

Referenced by be_tls_open_server(), and ClientAuthentication().

char* Port::peer_cn

Definition at line 185 of file libpq-be.h.

Referenced by be_tls_close(), and be_tls_open_server().

ProtocolVersion Port::proto

Definition at line 122 of file libpq-be.h.

Referenced by ProcessStartupPacket(), and recv_password_packet().

char* Port::remote_host

Definition at line 125 of file libpq-be.h.

Referenced by BackendInitialize(), log_disconnections(), log_line_prefix(), and write_csvlog().

char* Port::remote_hostname

Definition at line 126 of file libpq-be.h.

Referenced by BackendInitialize(), check_hostname(), and pgstat_bestart().

int Port::remote_hostname_errcode

Definition at line 129 of file libpq-be.h.

Referenced by check_hostname().

int Port::remote_hostname_resolv

Definition at line 128 of file libpq-be.h.

Referenced by check_hostname().

char* Port::remote_port

Definition at line 130 of file libpq-be.h.

Referenced by BackendInitialize(), log_disconnections(), log_line_prefix(), and write_csvlog().

TimestampTz Port::SessionStartTime

Definition at line 154 of file libpq-be.h.

Referenced by BackendInitialize(), BackendRun(), log_disconnections(), and pgstat_bestart().


The documentation for this struct was generated from the following file: