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
 
const char * authn_id
 
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
 
char * peer_dn
 
bool peer_cert_valid
 

Detailed Description

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

Field Documentation

◆ application_name

char* Port::application_name

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

◆ authn_id

const char* Port::authn_id

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

◆ canAcceptConnections

CAC_state Port::canAcceptConnections

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

Referenced by InitPostgres().

◆ cmdline_options

char* Port::cmdline_options

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

◆ database_name

char* Port::database_name

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

Referenced by log_line_prefix(), process_pgfdw_appname(), write_csvlog(), and write_jsonlog().

◆ default_keepalives_count

int Port::default_keepalives_count

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

◆ default_keepalives_idle

int Port::default_keepalives_idle

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

◆ default_keepalives_interval

int Port::default_keepalives_interval

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

◆ default_tcp_user_timeout

int Port::default_tcp_user_timeout

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

◆ gss

void* Port::gss

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

Referenced by pgstat_bestart(), and socket_close().

◆ guc_options

List* Port::guc_options

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

◆ hba

HbaLine* Port::hba

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

◆ keepalives_count

int Port::keepalives_count

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

◆ keepalives_idle

int Port::keepalives_idle

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

◆ keepalives_interval

int Port::keepalives_interval

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

◆ laddr

SockAddr Port::laddr

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

◆ noblock

bool Port::noblock

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

Referenced by socket_set_nonblocking().

◆ peer_cert_valid

bool Port::peer_cert_valid

◆ peer_cn

char* Port::peer_cn

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

◆ peer_dn

char* Port::peer_dn

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

◆ proto

ProtocolVersion Port::proto

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

◆ raddr

SockAddr Port::raddr

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

Referenced by pgstat_bestart().

◆ remote_host

char* Port::remote_host

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

Referenced by log_line_prefix(), write_csvlog(), and write_jsonlog().

◆ remote_hostname

char* Port::remote_hostname

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

Referenced by pgstat_bestart().

◆ remote_hostname_errcode

int Port::remote_hostname_errcode

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

◆ remote_hostname_resolv

int Port::remote_hostname_resolv

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

◆ remote_port

char* Port::remote_port

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

Referenced by log_line_prefix(), write_csvlog(), and write_jsonlog().

◆ sock

pgsocket Port::sock

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

Referenced by pq_check_connection(), pq_init(), and socket_close().

◆ ssl_in_use

◆ tcp_user_timeout

int Port::tcp_user_timeout

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

◆ user_name

char* Port::user_name

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

Referenced by log_line_prefix(), process_pgfdw_appname(), write_csvlog(), and write_jsonlog().


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