Re: Turning recovery.conf into GUCs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Turning recovery.conf into GUCs
Date
Msg-id 54AEF033.4000001@gmx.net
Whole thread Raw
In response to Re: Turning recovery.conf into GUCs  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 1/6/15 4:40 PM, Josh Berkus wrote:
>> Btw., I'm not sure that everyone will be happy to have primary_conninfo
>> > visible, since it might contain passwords.
> Didn't we discuss this?  I forgot what the conclusion was ... probably
> not to put passwords in primary_conninfo.

One can always say, don't do that then.  But especially with
pg_basebackup -R mindlessly copying passwords from .pgpass into
recovery.conf, the combination of these factors would proliferate
passwords a bit too easily for my taste.

Maybe a separate primary_conninfo_password that is a kind of write-only
GUC would work.  (That's how passwords usually work: You can change your
password, but can't see your existing one.)




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Turning recovery.conf into GUCs
Next
From: Tomas Vondra
Date:
Subject: Re: PATCH: decreasing memory needlessly consumed by array_agg