This is an automated email from the ASF dual-hosted git repository.

chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new e2b9b299a38 Rename gp_transactions.source to gp_transactions.sql
e2b9b299a38 is described below

commit e2b9b299a38d6802bd05520691c232e3a536cc01
Author: Jinbao Chen <[email protected]>
AuthorDate: Sat Dec 13 23:38:03 2025 +0800

    Rename gp_transactions.source to gp_transactions.sql
---
 .../expected/{gp_transactions.source => gp_transactions.out}       | 0
 .../regress/sql/{gp_transactions.source => gp_transactions.sql}    | 7 +++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/test/regress/expected/gp_transactions.source 
b/src/test/regress/expected/gp_transactions.out
similarity index 100%
rename from src/test/regress/expected/gp_transactions.source
rename to src/test/regress/expected/gp_transactions.out
diff --git a/src/test/regress/sql/gp_transactions.source 
b/src/test/regress/sql/gp_transactions.sql
similarity index 76%
rename from src/test/regress/sql/gp_transactions.source
rename to src/test/regress/sql/gp_transactions.sql
index efd62a07fb9..9185838ebcf 100644
--- a/src/test/regress/sql/gp_transactions.source
+++ b/src/test/regress/sql/gp_transactions.sql
@@ -1,6 +1,7 @@
 --
 -- Transactions (GPDB-specific tests)
 --
+\getenv abs_builddir PG_ABS_BUILDDIR
 
 CREATE TEMPORARY TABLE temptest (a int);
 INSERT INTO temptest VALUES (generate_series(1, 10));
@@ -10,9 +11,11 @@ CREATE TEMPORARY SEQUENCE tempseq;
 SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY;
 
 -- Make sure COPY works with temp tables during a READ ONLY transaction.
-COPY temptest TO '@abs_builddir@/results/xacttemp.data';
+\set filename :abs_builddir '/results/xacttemp.data'
+
+COPY temptest TO :'filename';
 DELETE FROM temptest;
-COPY temptest FROM '@abs_builddir@/results/xacttemp.data';
+COPY temptest FROM :'filename';
 SELECT * from temptest;
 
 -- Ensure temporary sequences function correctly as well.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to