1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ OBJS += spl_debugger.o
endif
DATA = pldbgapi--1.1.sql pldbgapi--unpackaged--1.1.sql pldbgapi--1.0--1.1.sql
DOCS = README-pldebugger.md
+REGRESS = extension
# PGXS build needs PostgreSQL 9.2 or later. Earlier versions didn't install
# plpgsql.h, so you needed the full source tree to access it.
--- /dev/null
+++ b/expected/extension.out
@@ -0,0 +1,7 @@
+CREATE EXTENSION pldbgapi;
+SELECT pldbg_create_listener();
+ pldbg_create_listener
+-----------------------
+ 1
+(1 row)
+
--- /dev/null
+++ b/sql/extension.sql
@@ -0,0 +1,2 @@
+CREATE EXTENSION pldbgapi;
+SELECT pldbg_create_listener();
|