PostgreSQL Source Code git master
Data Fields
Port Struct Reference

#include <libpq-be.h>

Data Fields

 
bool  noblock
 
 
 
 
char *  remote_host
 
char *  remote_hostname
 
 
 
char *  remote_port
 
char  local_host [64]
 
char *  database_name
 
char *  user_name
 
char *  cmdline_options
 
 
char *  application_name
 
HbaLinehba
 
 
 
 
 
 
 
 
 
 
 
 
void *  gss
 
bool  ssl_in_use
 
char *  peer_cn
 
char *  peer_dn
 
 
bool  alpn_used
 
 
void *  ssl
 
void *  peer
 
char *  raw_buf
 
ssize_t  raw_buf_consumed
 
ssize_t  raw_buf_remaining
 

Detailed Description

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

Field Documentation

alpn_used

bool Port::alpn_used

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

application_name

char* Port::application_name

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

cmdline_options

char* Port::cmdline_options

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

database_name

char* Port::database_name

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

Referenced by BackendMain(), log_status_format(), process_pgfdw_appname(), write_csvlog(), and write_jsonlog().

default_keepalives_count

int Port::default_keepalives_count

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

default_keepalives_idle

int Port::default_keepalives_idle

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

default_keepalives_interval

int Port::default_keepalives_interval

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

default_tcp_user_timeout

int Port::default_tcp_user_timeout

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

gss

void* Port::gss

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

Referenced by pgstat_bestart_security(), and socket_close().

guc_options

List* Port::guc_options

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

has_scram_keys

bool Port::has_scram_keys

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

Referenced by check_conn_params(), connect_pg_server(), dblink_connstr_check(), dblink_connstr_has_required_scram_options(), dblink_security_check(), get_connect_string(), pgfdw_has_required_scram_options(), pgfdw_security_check(), and scram_exchange().

hba

HbaLine* Port::hba

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

Referenced by validate_token().

keepalives_count

int Port::keepalives_count

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

keepalives_idle

int Port::keepalives_idle

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

keepalives_interval

int Port::keepalives_interval

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

laddr

SockAddr Port::laddr

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

Referenced by log_status_format().

last_read_was_eof

bool Port::last_read_was_eof

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

local_host

char Port::local_host[64]

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

Referenced by log_status_format().

noblock

bool Port::noblock

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

Referenced by socket_set_nonblocking().

peer

void* Port::peer

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

Referenced by ssl_client_dn_field(), ssl_extension_info(), and ssl_issuer_field().

peer_cert_valid

bool Port::peer_cert_valid

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

Referenced by ssl_client_cert_present(), ssl_client_dn(), ssl_client_dn_field(), ssl_client_serial(), and ssl_issuer_dn().

peer_cn

char* Port::peer_cn

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

peer_dn

char* Port::peer_dn

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

proto

ProtocolVersion Port::proto

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

Referenced by PostgresMain().

raddr

SockAddr Port::raddr

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

Referenced by pgstat_bestart_initial().

raw_buf

char* Port::raw_buf

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

raw_buf_consumed

ssize_t Port::raw_buf_consumed

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

raw_buf_remaining

ssize_t Port::raw_buf_remaining

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

remote_host

char* Port::remote_host

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

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

remote_hostname

char* Port::remote_hostname

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

Referenced by pgstat_bestart_initial().

remote_hostname_errcode

int Port::remote_hostname_errcode

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

remote_hostname_resolv

int Port::remote_hostname_resolv

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

remote_port

char* Port::remote_port

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

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

scram_ClientKey

uint8 Port::scram_ClientKey[SCRAM_MAX_KEY_LEN]

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

Referenced by appendSCRAMKeysInfo(), connect_pg_server(), and scram_exchange().

scram_ServerKey

uint8 Port::scram_ServerKey[SCRAM_MAX_KEY_LEN]

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

Referenced by appendSCRAMKeysInfo(), connect_pg_server(), and scram_exchange().

sock

pgsocket Port::sock

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

Referenced by socket_close().

ssl

void* Port::ssl

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

ssl_in_use

bool Port::ssl_in_use

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

Referenced by pgstat_bestart_security(), ssl_cipher(), ssl_client_dn(), ssl_client_dn_field(), ssl_client_serial(), ssl_is_used(), ssl_issuer_dn(), and ssl_version().

tcp_user_timeout

int Port::tcp_user_timeout

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

user_name

char* Port::user_name

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

Referenced by BackendMain(), log_status_format(), process_pgfdw_appname(), write_csvlog(), and write_jsonlog().


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

AltStyle によって変換されたページ (->オリジナル) /