Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit39314ef

Browse files
committed
Minor fixes for reloptions tests
Follow-up to4b95cc1Author: Nikolay Shaplov <dhyan@nataraj.su>
1 parent8d90b4d commit39314ef

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
ALTERTABLE reloptions_test RESET (autovacuum_enabled,
4848
autovacuum_analyze_scale_factor);
4949
SELECT reloptionsFROM pg_classWHEREoid='reloptions_test'::regclassAND
50-
reloptions ISNULL;
50+
reloptions ISNULL;
5151

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

55-
-- The OIDS option is not stored
55+
-- The OIDS option is not stored as reloption
5656
DROPTABLE reloptions_test;
5757
CREATETABLEreloptions_test(iINT) WITH (fillfactor=20, oids=true);
5858
SELECT reloptions, relhasoidsFROM pg_classWHEREoid='reloptions_test'::regclass;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp