PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | BackendStartupData |
Typedefs | |
typedef enum CAC_state | CAC_state |
typedef struct BackendStartupData | BackendStartupData |
Enumerations | |
enum | CAC_state { CAC_OK , CAC_STARTUP , CAC_SHUTDOWN , CAC_RECOVERY , CAC_NOTCONSISTENT , CAC_TOOMANY } |
Functions | |
void | BackendMain (char *startup_data, size_t startup_data_len) pg_attribute_noreturn() |
Variables | |
PGDLLIMPORT bool | Trace_connection_negotiation |
typedef struct BackendStartupData BackendStartupData |
enum CAC_state |
Enumerator | |
---|---|
CAC_OK | |
CAC_STARTUP | |
CAC_SHUTDOWN | |
CAC_RECOVERY | |
CAC_NOTCONSISTENT | |
CAC_TOOMANY |
Definition at line 26 of file backend_startup.h.
void BackendMain | ( | char * | startup_data, |
size_t | startup_data_len | ||
) |
Definition at line 59 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 43 of file backend_startup.c.
Referenced by ProcessSSLStartup(), and ProcessStartupPacket().