Skip to content

Commit e2b9b29

Browse files
committed
Rename gp_transactions.source to gp_transactions.sql
1 parent d2c97f5 commit e2b9b29

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

File renamed without changes.

src/test/regress/sql/gp_transactions.source renamed to src/test/regress/sql/gp_transactions.sql

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
22
-- Transactions (GPDB-specific tests)
33
--
4+
\getenv abs_builddir PG_ABS_BUILDDIR
45

56
CREATE TEMPORARY TABLE temptest (a int);
67
INSERT INTO temptest VALUES (generate_series(1, 10));
@@ -10,9 +11,11 @@ CREATE TEMPORARY SEQUENCE tempseq;
1011
SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY;
1112

1213
-- Make sure COPY works with temp tables during a READ ONLY transaction.
13-
COPY temptest TO '@abs_builddir@/results/xacttemp.data';
14+
\set filename :abs_builddir '/results/xacttemp.data'
15+
16+
COPY temptest TO :'filename';
1417
DELETE FROM temptest;
15-
COPY temptest FROM '@abs_builddir@/results/xacttemp.data';
18+
COPY temptest FROM :'filename';
1619
SELECT * from temptest;
1720

1821
-- Ensure temporary sequences function correctly as well.

0 commit comments

Comments
 (0)