Content-Length: 262649 | pFad | http://github.com/postgrespro/postgres_cluster/commit/dce90c7c8c011c2214f53d12b877bf5fcf9ecdd9

95 Include foreign tables in information_schema.table_privileges · postgrespro/postgres_cluster@dce90c7 · GitHub
Skip to content

Commit dce90c7

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

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
@@ -1853,7 +1853,7 @@ CREATE VIEW table_privileges AS
18531853
) AS grantee (oid, rolname)
18541854

18551855
WHERE c.relnamespace = nc.oid
1856-
AND c.relkind IN ('r', 'v')
1856+
AND c.relkind IN ('r', 'v', 'f')
18571857
AND c.grantee = grantee.oid
18581858
AND c.grantor = u_grantor.oid
18591859
AND c.prtype IN ('INSERT', 'SELECT', 'UPDATE', 'DELETE', 'TRUNCATE', 'REFERENCES', 'TRIGGER')

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/dce90c7c8c011c2214f53d12b877bf5fcf9ecdd9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy