diff options
author | Noah Misch <noah@leadboat.com> | 2017-05-08 07:24:24 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-05-08 07:24:27 -0700 |
commit | db2158108674812abe883f7e0bd14eb2024ea8f3 (patch) | |
tree | 5737d3a4176a7ca93757962b29075c0e331fade0 /src/backend/access/gist/gistproc.c | |
parent | 96d7454920e28447a1127497bba624cdf0f315c1 (diff) | |
download | postgresql-db2158108674812abe883f7e0bd14eb2024ea8f3.tar.gz postgresql-db2158108674812abe883f7e0bd14eb2024ea8f3.zip |
Match pg_user_mappings limits to information_schema.user_mapping_options.
Both views replace the umoptions field with NULL when the user does not
meet qualifications to see it. They used different qualifications, and
pg_user_mappings documented qualifications did not match its implemented
qualifications. Make its documentation and implementation match those
of user_mapping_options. One might argue for stronger qualifications,
but these have long, documented tenure. pg_user_mappings has always
exhibited this problem, so back-patch to 9.2 (all supported versions).
Michael Paquier and Feike Steenbergen. Reviewed by Jeff Janes.
Reported by Andrew Wheelwright.
Security: CVE-2017-7486
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions