mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Back out the session_start and session_end hooks feature.
It's become apparent during testing that there are problems with at least the testing regime. I don't think we should have it without a working test regime, and the difficulties might indicate implementation problems anyway, so I'm backing out the whole thing until that's sorted out. This reverts commits74594849989f92cd8ce3a
This commit is contained in:
@@ -169,9 +169,6 @@ static ProcSignalReason RecoveryConflictReason;
|
||||
static MemoryContext row_description_context = NULL;
|
||||
static StringInfoData row_description_buf;
|
||||
|
||||
/* Hook for plugins to get control at start of session */
|
||||
session_start_hook_type session_start_hook = NULL;
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* decls for routines only used in this file
|
||||
* ----------------------------------------------------------------
|
||||
@@ -3860,9 +3857,6 @@ PostgresMain(int argc, char *argv[],
|
||||
if (!IsUnderPostmaster)
|
||||
PgStartTime = GetCurrentTimestamp();
|
||||
|
||||
if (session_start_hook)
|
||||
(*session_start_hook) ();
|
||||
|
||||
/*
|
||||
* POSTGRES main processing loop begins here
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user