mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Revert "Skip WAL for new relfilenodes, under wal_level=minimal."
This reverts commit cb2fd7eac2
. Per
numerous buildfarm members, it was incompatible with parallel query, and
a test case assumed LP64. Back-patch to 9.5 (all supported versions).
Discussion: https://postgr.es/m/20200321224920.GB1763544@rfd.leadboat.com
This commit is contained in:
@ -1,24 +1,5 @@
|
||||
CREATE EXTENSION pg_visibility;
|
||||
|
||||
--
|
||||
-- recently-dropped table
|
||||
--
|
||||
\set VERBOSITY sqlstate
|
||||
BEGIN;
|
||||
CREATE TABLE droppedtest (c int);
|
||||
SELECT 'droppedtest'::regclass::oid AS oid \gset
|
||||
SAVEPOINT q; DROP TABLE droppedtest; RELEASE q;
|
||||
SAVEPOINT q; SELECT * FROM pg_visibility_map(:oid); ROLLBACK TO q;
|
||||
-- ERROR: could not open relation with OID 16xxx
|
||||
SAVEPOINT q; SELECT 1; ROLLBACK TO q;
|
||||
SAVEPOINT q; SELECT 1; ROLLBACK TO q;
|
||||
SELECT pg_relation_size(:oid), pg_relation_filepath(:oid),
|
||||
has_table_privilege(:oid, 'SELECT');
|
||||
SELECT * FROM pg_visibility_map(:oid);
|
||||
-- ERROR: could not open relation with OID 16xxx
|
||||
ROLLBACK;
|
||||
\set VERBOSITY default
|
||||
|
||||
--
|
||||
-- check that using the module's functions with unsupported relations will fail
|
||||
--
|
||||
|
Reference in New Issue
Block a user