aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-11-16 11:35:02 -0500
committerAndrew Dunstan <andrew@dunslane.net>2017-11-16 11:35:02 -0500
commit98d54bb7790d5fb0a77173d5e5e3c655901b472c (patch)
tree6959ce8a9a5dbefdc269966a37b5c0b3d36dc904 /src/backend/tcop/postgres.c
parent164d6338785b0b6c5a1ac30ee3e4b63bd77441ba (diff)
downloadpostgresql-98d54bb7790d5fb0a77173d5e5e3c655901b472c.tar.gz
postgresql-98d54bb7790d5fb0a77173d5e5e3c655901b472c.zip
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 commits 7459484 9989f92 cd8ce3a
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index d3156ad49ef..05c5c194ec6 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -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
*