postgres: improve snapshot-tests for long/wide situations (#84387)

This commit is contained in:
Gábor Farkas authored and GitHub committed 2024-03-14 12:37:04 +01:00
1 parent 0c4e0d0f70
commit 97521ef988
5 files changed
+48 -1

No files matched your search

@@ -0,0 +1,12 @@
-- SELECT * FROM tbl WHERE false
CREATE TEMPORARY TABLE tbl (
"time" timestamp with time zone,
v double precision,
c text
);
INSERT INTO tbl ("time", v, c) VALUES
('2023-12-24 14:30:03 UTC', 10, 'a'),
('2023-12-24 14:30:03 UTC', 110, 'b'),
('2023-12-24 14:31:03 UTC', 20, 'a'),
('2023-12-24 14:31:03 UTC', 120, 'b');