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

Commit80af69c

Browse files
committed
Remove test on c.relkind from check_constraints view; unnecessary and
prevents view from showing constraints on domains. This addresses theother half of Claus Colloseus' bug report.
1 parentd9d72bc commit80af69c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/backend/catalog/information_schema.sql

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright 2003, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/backend/catalog/information_schema.sql,v 1.18 2003/12/0710:21:58 petere Exp $
7+
* $PostgreSQL: pgsql/src/backend/catalog/information_schema.sql,v 1.19 2003/12/0719:43:02 tgl Exp $
88
*/
99

1010
/*
@@ -112,8 +112,7 @@ CREATE VIEW check_constraints AS
112112
WHERErs.oid=con.connamespace
113113
ANDu.usesysid= coalesce(c.relowner,t.typowner)
114114
ANDu.usename=current_user
115-
ANDcon.contype='c'
116-
ANDc.relkind='r';
115+
ANDcon.contype='c';
117116

118117
GRANTSELECTON check_constraints TO PUBLIC;
119118

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp