File: regress

package info (click to toggle)
pldebugger 1%3A1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 320 kB
  • sloc: ansic: 3,176; sql: 226; makefile: 34; sh: 1
file content (25 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (2)
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();