postgres: add tests to handle multiple statements in the same query (#85523)

* postgres: add tests to handle multiple statements in the same query

* better test explanation
This commit is contained in:
Gábor Farkas authored and GitHub committed 2024-04-08 16:56:23 +02:00
1 parent fe3b6d3c5e
commit ccd13bf08e
5 files changed
+131

No files matched your search

@@ -0,0 +1,10 @@
-- SET TIME ZONE -7; select * from tbl; SET TIME ZONE DEFAULT; select * from tbl;
-- we are testing that you can run multiple statements in one "query",
-- and those statements have effects on each other, in this example
-- we load the same database-value in different time-zones,
-- we should receive different values.
CREATE TEMPORARY TABLE tbl (
d timestamp with time zone
);
INSERT INTO tbl (d) VALUES ('2024-04-03T12:43:25UTC')