diff options
author | Stephen Frost <sfrost@snowman.net> | 2016-05-24 20:10:16 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2016-05-24 20:10:16 -0400 |
commit | 2e8b4bf80473d0e4a4254b417424e79195a9ce6a (patch) | |
tree | d6e3dbaf63969ee5898dbe661e68f6bbd008cf23 /contrib/bloom/blutils.c | |
parent | 2d2e40e3befd8b9e0d2757554537345b15fa6ea2 (diff) | |
download | postgresql-2e8b4bf80473d0e4a4254b417424e79195a9ce6a.tar.gz postgresql-2e8b4bf80473d0e4a4254b417424e79195a9ce6a.zip |
Qualify table usage in dumpTable() and use regclass
All of the other tables used in the query in dumpTable(), which is
collecting column-level ACLs, are qualified, so we should be qualifying
the pg_init_privs, the related sub-select against pg_class and the
other queries added by the pg_dump catalog ACLs work.
Also, use ::regclass (or ::pg_catalog.regclass, where appropriate)
instead of using a poorly constructed query to get the OID for various
catalog tables.
Issues identified by Noah and Alvaro, patch by me.
Diffstat (limited to 'contrib/bloom/blutils.c')
0 files changed, 0 insertions, 0 deletions