Files
Gábor Farkas ccd13bf08e 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
2024-04-08 16:56:23 +02:00

7 lines
249 B
SQL

-- 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');