From 98d54bb7790d5fb0a77173d5e5e3c655901b472c Mon Sep 17 00:00:00 2001
From: Andrew Dunstan <andrew@dunslane.net>
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
---
 .../modules/test_session_hooks/sql/test_session_hooks.sql    | 12 ------------
 1 file changed, 12 deletions(-)
 delete mode 100644 src/test/modules/test_session_hooks/sql/test_session_hooks.sql

(limited to 'src/test/modules/test_session_hooks/sql/test_session_hooks.sql')

diff --git a/src/test/modules/test_session_hooks/sql/test_session_hooks.sql b/src/test/modules/test_session_hooks/sql/test_session_hooks.sql
deleted file mode 100644
index 5e0864753d9..00000000000
--- a/src/test/modules/test_session_hooks/sql/test_session_hooks.sql
+++ /dev/null
@@ -1,12 +0,0 @@
-CREATE ROLE regress_sess_hook_usr1 SUPERUSER LOGIN;
-CREATE ROLE regress_sess_hook_usr2 SUPERUSER LOGIN;
-\set prevdb :DBNAME
-\set prevusr :USER
-CREATE TABLE session_hook_log(id SERIAL, dbname TEXT, username TEXT, hook_at TEXT);
-SELECT * FROM session_hook_log ORDER BY id;
-\c :prevdb regress_sess_hook_usr1
-SELECT * FROM session_hook_log ORDER BY id;
-\c :prevdb regress_sess_hook_usr2
-SELECT * FROM session_hook_log ORDER BY id;
-\c :prevdb :prevusr
-SELECT * FROM session_hook_log ORDER BY id;
-- 
cgit v1.2.3

