Re: BUG #14600: Passwords in user mappings leaked by psql \deu+ command

From: Feike Steenbergen <feikesteenbergen(at)gmail(dot)com>
To: andrew(dot)wheelwright(at)familysearch(dot)org
Cc: PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14600: Passwords in user mappings leaked by psql \deu+ command
Date: 2017-03-29 17:53:50
Message-ID: CAK_s-G0SeC7HOsO2s8QSPtNu3Dczmj4o7+E+1_BPWO3sDW2mdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Attached a patch which copies the logic from commit
93a6be63a55a8cd0d73b3fa81eb6a46013a3a974.

In the current implementation we only consider privileges of the foreign
server
in determining whether or not to show the user mapping details. This patch
copies the same logic (and documentation) used in commit
93a6be63a55a8cd0d73b3fa81eb6a46013a3a974 to not always show the user mapping
options.

regards,

Feike

Attachment Content-Type Size
user_mappings_leak.patch application/octet-stream 1.7 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message shaunc 2017-03-29 21:36:07 BUG #14605: round trip of day of week doesn't work
Previous Message Devrim Gündüz 2017-03-29 16:20:50 Re: BUG #14602: Fedora 20 + PG 9.3 Cannot retrive metalink