Hi Hackers,

Attached is the patch to replace the usage of pg_user_mapping table with
pg_user_mappings view. pg_user_mapping is not publicly accessible.
Changes are done for search objects and foreign data wrappers.
pgAdmin throws an exception when accessing User mappings with non
privileged users.
More about pg_user_mappings -
https://www.postgresql.org/docs/9.5/view-pg-user-mappings.html

Please review.

-- 
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Attachment: RM5400.patch
Description: Binary data

Reply via email to