diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-03-23 15:11:45 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-03-23 15:11:45 -0400 |
commit | c97e4bdcb142effc452d33b81f31e0b3ac990b71 (patch) | |
tree | 3f5f0babdfe96289a0fb2852ca5d489fcd6c4b9a /src | |
parent | 81b9f23c9c83813f14d20cf6993d94fdd44c0991 (diff) | |
download | postgresql-c97e4bdcb142effc452d33b81f31e0b3ac990b71.tar.gz postgresql-c97e4bdcb142effc452d33b81f31e0b3ac990b71.zip |
Clean test_rls_hooks module
This module isn't an extension and doesn't need to be preloaded.
Adjust the Makefile and remove the extraneous .control and .conf
files accordingly.
Discussion: https://postgr.es/m/43bcaaab-077e-cebe-35be-3cd7f2633449@dunslane.net
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/test_rls_hooks/Makefile | 7 | ||||
-rw-r--r-- | src/test/modules/test_rls_hooks/rls_hooks.conf | 1 | ||||
-rw-r--r-- | src/test/modules/test_rls_hooks/test_rls_hooks.control | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/test/modules/test_rls_hooks/Makefile b/src/test/modules/test_rls_hooks/Makefile index a4f7d855c0c..14ccc352506 100644 --- a/src/test/modules/test_rls_hooks/Makefile +++ b/src/test/modules/test_rls_hooks/Makefile @@ -6,14 +6,7 @@ OBJS = \ test_rls_hooks.o PGFILEDESC = "test_rls_hooks - example use of RLS hooks" -EXTENSION = test_rls_hooks -# DATA = test_rls_hooks--1.0.sql - REGRESS = test_rls_hooks -REGRESS_OPTS = --temp-config=$(top_srcdir)/src/test/modules/test_rls_hooks/rls_hooks.conf -# Disabled because these tests require "shared_preload_libraries=test_rls_hooks", -# which typical installcheck users do not have (e.g. buildfarm clients). -NO_INSTALLCHECK = 1 ifdef USE_PGXS PG_CONFIG = pg_config diff --git a/src/test/modules/test_rls_hooks/rls_hooks.conf b/src/test/modules/test_rls_hooks/rls_hooks.conf deleted file mode 100644 index a522c0e550b..00000000000 --- a/src/test/modules/test_rls_hooks/rls_hooks.conf +++ /dev/null @@ -1 +0,0 @@ -shared_preload_libraries = test_rls_hooks diff --git a/src/test/modules/test_rls_hooks/test_rls_hooks.control b/src/test/modules/test_rls_hooks/test_rls_hooks.control deleted file mode 100644 index 9f9f13f76c4..00000000000 --- a/src/test/modules/test_rls_hooks/test_rls_hooks.control +++ /dev/null @@ -1,4 +0,0 @@ -comment = 'Test code for RLS hooks' -default_version = '1.0' -module_pathname = '$libdir/test_rls_hooks' -relocatable = true |