summaryrefslogtreecommitdiffstats
path: root/contrib/tsm_system_rows/tsm_system_rows--1.0.sql
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tsm_system_rows/tsm_system_rows--1.0.sql')
-rw-r--r--contrib/tsm_system_rows/tsm_system_rows--1.0.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/tsm_system_rows/tsm_system_rows--1.0.sql b/contrib/tsm_system_rows/tsm_system_rows--1.0.sql
new file mode 100644
index 0000000..de508ed
--- /dev/null
+++ b/contrib/tsm_system_rows/tsm_system_rows--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/tsm_system_rows/tsm_system_rows--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION tsm_system_rows" to load this file. \quit
+
+CREATE FUNCTION system_rows(internal)
+RETURNS tsm_handler
+AS 'MODULE_PATHNAME', 'tsm_system_rows_handler'
+LANGUAGE C STRICT;