Skip to content

Commit 54ba3c1

Browse files
committed
Install plpgsql on test databases 8.3 and 8.4
Required by triggers tests
1 parent a2138b6 commit 54ba3c1

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

bin/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,14 @@ PROGRAM = pg_repack
2222
#
2323

2424
ifeq ($(shell echo $$(($(INTVERSION) >= 901))),1)
25-
REGRESS = init-extension
25+
REGRESS := init-extension
2626
else
27-
REGRESS = init-legacy
27+
REGRESS := init-legacy
28+
endif
29+
30+
# plpgsql not available by default on pg < 9.0
31+
ifeq ($(shell echo $$(($(INTVERSION) < 900))),1)
32+
REGRESS += plpgsql
2833
endif
2934

3035
REGRESS += repack tablespace

bin/expected/plpgsql.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE LANGUAGE plpgsql;

bin/sql/plpgsql.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE LANGUAGE plpgsql;

0 commit comments

Comments
 (0)