PostgreSQL Source Code  git master
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
 
char * application_name
 
HbaLinehba
 
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
 

Detailed Description

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

Field Documentation

◆ application_name

char* Port::application_name

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

Referenced by PerformAuthentication(), and ProcessStartupPacket().

◆ canAcceptConnections

CAC_state Port::canAcceptConnections

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

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

◆ cmdline_options

char* Port::cmdline_options

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

Referenced by process_startup_options(), and ProcessStartupPacket().

◆ database_name

◆ default_keepalives_count

int Port::default_keepalives_count

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

Referenced by pq_getkeepalivescount(), and pq_setkeepalivescount().

◆ default_keepalives_idle

int Port::default_keepalives_idle

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

Referenced by pq_getkeepalivesidle(), and pq_setkeepalivesidle().

◆ default_keepalives_interval

int Port::default_keepalives_interval

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

Referenced by pq_getkeepalivesinterval(), and pq_setkeepalivesinterval().

◆ default_tcp_user_timeout

int Port::default_tcp_user_timeout

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

Referenced by pq_gettcpusertimeout(), and pq_settcpusertimeout().

◆ gss

◆ guc_options

List* Port::guc_options

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

Referenced by process_startup_options(), and ProcessStartupPacket().

◆ hba

◆ keepalives_count

int Port::keepalives_count

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

Referenced by pq_getkeepalivescount(), and pq_setkeepalivescount().

◆ keepalives_idle

int Port::keepalives_idle

◆ keepalives_interval

int Port::keepalives_interval

◆ laddr

◆ noblock

bool Port::noblock

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

Referenced by be_tls_open_server(), and socket_set_nonblocking().

◆ peer_cert_valid

bool Port::peer_cert_valid

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

Referenced by be_tls_open_server(), and ClientAuthentication().

◆ peer_cn

char* Port::peer_cn

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

Referenced by be_tls_close(), be_tls_open_server(), ident_inet(), and secure_open_server().

◆ proto

ProtocolVersion Port::proto

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

Referenced by ProcessStartupPacket(), and recv_password_packet().

◆ raddr

◆ remote_host

char* Port::remote_host

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

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

◆ remote_hostname

char* Port::remote_hostname

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

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

◆ remote_hostname_errcode

int Port::remote_hostname_errcode

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

Referenced by check_hostname().

◆ remote_hostname_resolv

int Port::remote_hostname_resolv

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

Referenced by check_hostname().

◆ remote_port

char* Port::remote_port

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

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

◆ sock

◆ ssl_in_use

◆ tcp_user_timeout

int Port::tcp_user_timeout

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

Referenced by pq_gettcpusertimeout(), and pq_settcpusertimeout().

◆ user_name


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