[BUGS] BUG #14600: Passwords in user mappings leaked by psql \deu+ command - Mailing list pgsql-hackers

From Feike Steenbergen
Subject [BUGS] BUG #14600: Passwords in user mappings leaked by psql \deu+ command
Date
Msg-id CAK_s-G2gaYLCu3j10-EGxngUXzFOp9O+TyBv1-Xj4fyYKJ9fPA@mail.gmail.com
Whole thread Raw
Responses Re: [BUGS] BUG #14600: Passwords in user mappings leaked bypsql \deu+ command  (Jeff Janes <jeff.janes@gmail.com>)
Re: [BUGS] BUG #14600: Passwords in user mappings leaked bypsql \deu+ command  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
List pgsql-hackers
Forwarding message from pgsql-bugs for review


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

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: bumping HASH_VERSION to 3
Next
From: Tom Lane
Date:
Subject: Re: Somebody has not thought through subscription locking considerations