From 98d54bb7790d5fb0a77173d5e5e3c655901b472c Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Thu, 16 Nov 2017 11:35:02 -0500 Subject: 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 --- src/include/tcop/tcopprot.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/include') diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 9f05bfb4ab5..f8c535c91e3 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -35,13 +35,6 @@ extern PGDLLIMPORT const char *debug_query_string; extern int max_stack_depth; extern int PostAuthDelay; -/* Hook for plugins to get control at start and end of session */ -typedef void (*session_start_hook_type) (void); -typedef void (*session_end_hook_type) (void); - -extern PGDLLIMPORT session_start_hook_type session_start_hook; -extern PGDLLIMPORT session_end_hook_type session_end_hook; - /* GUC-configurable parameters */ typedef enum -- cgit v1.2.3