mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Minor fixes for reloptions tests
Follow-up to 4b95cc1dc3
Author: Nikolay Shaplov <dhyan@nataraj.su>
This commit is contained in:
@ -86,7 +86,7 @@ reloptions IS NULL;
|
|||||||
-- RESET fails if a value is specified
|
-- RESET fails if a value is specified
|
||||||
ALTER TABLE reloptions_test RESET (fillfactor=12);
|
ALTER TABLE reloptions_test RESET (fillfactor=12);
|
||||||
ERROR: RESET must not include values for parameters
|
ERROR: RESET must not include values for parameters
|
||||||
-- The OIDS option is not stored
|
-- The OIDS option is not stored as reloption
|
||||||
DROP TABLE reloptions_test;
|
DROP TABLE reloptions_test;
|
||||||
CREATE TABLE reloptions_test(i INT) WITH (fillfactor=20, oids=true);
|
CREATE TABLE reloptions_test(i INT) WITH (fillfactor=20, oids=true);
|
||||||
SELECT reloptions, relhasoids FROM pg_class WHERE oid = 'reloptions_test'::regclass;
|
SELECT reloptions, relhasoids FROM pg_class WHERE oid = 'reloptions_test'::regclass;
|
||||||
|
@ -52,7 +52,7 @@ reloptions IS NULL;
|
|||||||
-- RESET fails if a value is specified
|
-- RESET fails if a value is specified
|
||||||
ALTER TABLE reloptions_test RESET (fillfactor=12);
|
ALTER TABLE reloptions_test RESET (fillfactor=12);
|
||||||
|
|
||||||
-- The OIDS option is not stored
|
-- The OIDS option is not stored as reloption
|
||||||
DROP TABLE reloptions_test;
|
DROP TABLE reloptions_test;
|
||||||
CREATE TABLE reloptions_test(i INT) WITH (fillfactor=20, oids=true);
|
CREATE TABLE reloptions_test(i INT) WITH (fillfactor=20, oids=true);
|
||||||
SELECT reloptions, relhasoids FROM pg_class WHERE oid = 'reloptions_test'::regclass;
|
SELECT reloptions, relhasoids FROM pg_class WHERE oid = 'reloptions_test'::regclass;
|
||||||
|
Reference in New Issue
Block a user