Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 39314ef

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

File tree

Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed

‎src/test/regress/expected/reloptions.out

Copy file name to clipboardExpand all lines: src/test/regress/expected/reloptions.out
+2-2Lines 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

Copy file name to clipboardExpand all lines: src/test/regress/sql/reloptions.sql
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.