PostgreSQL Source Code git master
|
#include "utils/timestamp.h"
Go to the source code of this file.
Data Structures | |
struct | BackendStartupData |
struct | ConnectionTiming |
Typedefs | |
typedef enum CAC_state | CAC_state |
typedef struct BackendStartupData | BackendStartupData |
typedef enum LogConnectionOption | LogConnectionOption |
typedef struct ConnectionTiming | ConnectionTiming |
Enumerations | |
enum | CAC_state { CAC_OK , CAC_STARTUP , CAC_SHUTDOWN , CAC_RECOVERY , CAC_NOTHOTSTANDBY , CAC_TOOMANY } |
enum | LogConnectionOption { LOG_CONNECTION_RECEIPT = (1 << 0) , LOG_CONNECTION_AUTHENTICATION = (1 << 1) , LOG_CONNECTION_AUTHORIZATION = (1 << 2) , LOG_CONNECTION_SETUP_DURATIONS = (1 << 3) , LOG_CONNECTION_ON , LOG_CONNECTION_ALL } |
Functions | |
pg_noreturn void | BackendMain (const void *startup_data, size_t startup_data_len) |
Variables | |
PGDLLIMPORT bool | Trace_connection_negotiation |
PGDLLIMPORT uint32 | log_connections |
PGDLLIMPORT char * | log_connections_string |
PGDLLIMPORT struct ConnectionTiming | conn_timing |
typedef struct BackendStartupData BackendStartupData |
typedef struct ConnectionTiming ConnectionTiming |
typedef enum LogConnectionOption LogConnectionOption |
enum CAC_state |
Enumerator | |
---|---|
CAC_OK | |
CAC_STARTUP | |
CAC_SHUTDOWN | |
CAC_RECOVERY | |
CAC_NOTHOTSTANDBY | |
CAC_TOOMANY |
Definition at line 33 of file backend_startup.h.
enum LogConnectionOption |
Enumerator | |
---|---|
LOG_CONNECTION_RECEIPT | |
LOG_CONNECTION_AUTHENTICATION | |
LOG_CONNECTION_AUTHORIZATION | |
LOG_CONNECTION_SETUP_DURATIONS | |
LOG_CONNECTION_ON | |
LOG_CONNECTION_ALL |
Definition at line 74 of file backend_startup.h.
pg_noreturn void BackendMain | ( | const void * | startup_data, |
size_t | startup_data_len | ||
) |
Definition at line 76 of file backend_startup.c.
References Assert(), BackendInitialize(), BackendStartupData::canAcceptConnections, Port::database_name, EnableSSL, ereport, errmsg(), InitProcess(), LoadedSSL, LOG, MemoryContextSwitchTo(), MyClientSocket, MyProcPort, PostgresMain(), secure_initialize(), TopMemoryContext, and Port::user_name.
|
extern |
Definition at line 58 of file backend_startup.c.
Referenced by PerformAuthentication(), PostgresMain(), and postmaster_child_launch().
|
extern |
Definition at line 47 of file backend_startup.c.
Referenced by assign_log_connections(), BackendInitialize(), ClientAuthentication(), PerformAuthentication(), PostgresMain(), and set_authn_id().
|
extern |
Definition at line 48 of file backend_startup.c.
|
extern |
Definition at line 46 of file backend_startup.c.
Referenced by ProcessSSLStartup(), and ProcessStartupPacket().