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

Commit4b9fbd6

Browse files
committed
Allow relkind 'I' in type_sanity test.
This is cosmetic at present, since no partitioned indexes havebeen created yet at the stage of the regression tests whentype_sanity runs. But it's confusing that this list of allowedvalues doesn't match reality, so fix it.Noted by Jian He.Discussion:https://postgr.es/m/CACJufxHhr58q-YoBeqnY5P-u8Xe2X5sMtsr3LYE1nQDwdqjB4w@mail.gmail.com
1 parent05ce730 commit4b9fbd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ ORDER BY 1;
500500
-- Look for illegal values in pg_class fields
501501
SELECT c1.oid, c1.relname
502502
FROM pg_class as c1
503-
WHERE relkind NOT IN ('r', 'i', 'S', 't', 'v', 'm', 'c', 'f', 'p') OR
503+
WHERE relkind NOT IN ('r', 'i', 'S', 't', 'v', 'm', 'c', 'f', 'p', 'I') OR
504504
relpersistence NOT IN ('p', 'u', 't') OR
505505
relreplident NOT IN ('d', 'n', 'f', 'i');
506506
oid | relname

‎src/test/regress/sql/type_sanity.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ ORDER BY 1;
360360

361361
SELECTc1.oid,c1.relname
362362
FROM pg_classas c1
363-
WHERE relkind NOTIN ('r','i','S','t','v','m','c','f','p')OR
363+
WHERE relkind NOTIN ('r','i','S','t','v','m','c','f','p','I')OR
364364
relpersistence NOTIN ('p','u','t')OR
365365
relreplident NOTIN ('d','n','f','i');
366366

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp