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:
@@ -0,0 +1,7 @@
|
||||
-- SELECT t FROM tbl WHERE t='one'; SELECT t FROM tbl WHERE t='three';
|
||||
-- lib/pq allows multiple queries to run, and return results for all the queries
|
||||
CREATE TEMPORARY TABLE tbl (
|
||||
t text
|
||||
);
|
||||
|
||||
INSERT INTO tbl (t) VALUES ('one'),('two'),('three');
|
||||
Reference in New Issue
Block a user