mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix buildfarm failures in pg_walinspect tests.
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
CREATE EXTENSION pg_walinspect;
|
||||
|
||||
-- Make sure checkpoints don't interfere with the test.
|
||||
SELECT 'init' FROM pg_create_physical_replication_slot('regress_pg_walinspect_slot', true, false);
|
||||
|
||||
CREATE TABLE sample_tbl(col1 int, col2 int);
|
||||
|
||||
-- Make sure checkpoints don't interfere with the test.
|
||||
SELECT lsn as wal_lsn1 FROM
|
||||
pg_create_physical_replication_slot('regress_pg_walinspect_slot', true, false)
|
||||
\gset
|
||||
SELECT pg_current_wal_lsn() AS wal_lsn1 \gset
|
||||
|
||||
INSERT INTO sample_tbl SELECT * FROM generate_series(1, 2);
|
||||
|
||||
|
Reference in New Issue
Block a user