Skip to content

Commit 39314ef

Browse files
committed
Minor fixes for reloptions tests
Follow-up to 4b95cc1 Author: Nikolay Shaplov <dhyan@nataraj.su>
1 parent 8d90b4d commit 39314ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/regress/expected/reloptions.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ SELECT reloptions FROM pg_class WHERE oid = 'reloptions_test'::regclass;
7777
ALTER TABLE reloptions_test RESET (autovacuum_enabled,
7878
autovacuum_analyze_scale_factor);
7979
SELECT reloptions FROM pg_class WHERE oid = 'reloptions_test'::regclass AND
80-
reloptions IS NULL;
80+
reloptions IS NULL;
8181
reloptions
8282
------------
8383

@@ -86,7 +86,7 @@ reloptions IS NULL;
8686
-- RESET fails if a value is specified
8787
ALTER TABLE reloptions_test RESET (fillfactor=12);
8888
ERROR: RESET must not include values for parameters
89-
-- The OIDS option is not stored
89+
-- The OIDS option is not stored as reloption
9090
DROP TABLE reloptions_test;
9191
CREATE TABLE reloptions_test(i INT) WITH (fillfactor=20, oids=true);
9292
SELECT reloptions, relhasoids FROM pg_class WHERE oid = 'reloptions_test'::regclass;

src/test/regress/sql/reloptions.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ SELECT reloptions FROM pg_class WHERE oid = 'reloptions_test'::regclass;
4747
ALTER TABLE reloptions_test RESET (autovacuum_enabled,
4848
autovacuum_analyze_scale_factor);
4949
SELECT reloptions FROM pg_class WHERE oid = 'reloptions_test'::regclass AND
50-
reloptions IS NULL;
50+
reloptions IS NULL;
5151

5252
-- RESET fails if a value is specified
5353
ALTER TABLE reloptions_test RESET (fillfactor=12);
5454

55-
-- The OIDS option is not stored
55+
-- The OIDS option is not stored as reloption
5656
DROP TABLE reloptions_test;
5757
CREATE TABLE reloptions_test(i INT) WITH (fillfactor=20, oids=true);
5858
SELECT reloptions, relhasoids FROM pg_class WHERE oid = 'reloptions_test'::regclass;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy