Re: Improving psql's \password command - Mailing list pgsql-hackers

From Bossart, Nathan
Subject Re: Improving psql's \password command
Date
Msg-id E0C46CDF-46B2-4388-B53B-96EB2CA0F71E@amazon.com
Whole thread Raw
In response to Re: Improving psql's \password command  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Improving psql's \password command
List pgsql-hackers
On 11/11/21, 8:12 AM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> It seems to me it'd overcomplicate simple_prompt's API for one use-case
> ... but if you want to try it, step right up.  (I suppose some of that
> objection could be overcome by making simple_prompt into a wrapper
> around another function not_so_simple_prompt.)

I haven't started on the SIGINT stuff yet, but I did extract the
PQuser() fix so that we can hopefully get that one out of the way.  I
made some small adjustments in an attempt to keep the branching in
this function from getting too complicated.

Nathan


Attachment

pgsql-hackers by date:

Previous
From: Fabrice Chapuis
Date:
Subject: Re: Logical replication timeout problem
Next
From: Justin Pryzby
Date:
Subject: Re: Parallel Append can break run-time partition pruning