summaryrefslogtreecommitdiffstats
path: root/src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql')
-rw-r--r--src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql b/src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql
new file mode 100644
index 0000000..5f3cb5b
--- /dev/null
+++ b/src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION dummy_seclabel" to load this file. \quit
+
+CREATE FUNCTION dummy_seclabel_dummy()
+ RETURNS pg_catalog.void
+ AS 'MODULE_PATHNAME' LANGUAGE C;