Skip to content

Commit 0659465

Browse files
committed
Include foreign tables in information_schema.table_privileges
This appears to have been an omission in the original commit 0d692a0. All related information_schema views already include foreign tables. Reported-by: Nicolas Thauvin <nicolas.thauvin@dalibo.com>
1 parent 0f0ee68 commit 0659465

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
WHERE c.relnamespace = nc.oid
1871-
AND c.relkind IN ('r', 'v', 'p')
1871+
AND c.relkind IN ('r', 'v', 'f', 'p')
18721872
AND c.grantee = grantee.oid
18731873
AND c.grantor = u_grantor.oid
18741874
AND c.prtype IN ('INSERT', 'SELECT', 'UPDATE', 'DELETE', 'TRUNCATE', 'REFERENCES', 'TRIGGER')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy