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

Commit0659465

Browse files
committed
Include foreign tables in information_schema.table_privileges
This appears to have been an omission in the original commit0d692a0. All related information_schema views already includeforeign tables.Reported-by: Nicolas Thauvin <nicolas.thauvin@dalibo.com>
1 parent0f0ee68 commit0659465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/catalog/information_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ CREATE VIEW table_privileges AS
18681868
)AS grantee (oid, rolname)
18691869

18701870
WHEREc.relnamespace=nc.oid
1871-
ANDc.relkindIN ('r','v','p')
1871+
ANDc.relkindIN ('r','v','f','p')
18721872
ANDc.grantee=grantee.oid
18731873
ANDc.grantor=u_grantor.oid
18741874
ANDc.prtypeIN ('INSERT','SELECT','UPDATE','DELETE','TRUNCATE','REFERENCES','TRIGGER')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp