Re: Improving psql's \password command

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improving psql's \password command
Date: 2021-11-15 21:52:42
Message-ID: E4840C66-2FD5-4A0B-8CC9-A09F8B9126B7@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/15/21, 1:04 PM, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> register. But really that doesn't matter anyhow, since this
> is a stack level below where the sigsetjmp call is. AFAIK the
> only longjmp clobber risk is to pg_get_line_append's mutable
> local variables, of which there are none.

*facepalm*

You are right. I'm not sure what I was thinking. Attached a v3
with that part removed.

Nathan

Attachment Content-Type Size
v3-0001-Add-control-C-handling-for-psql-s-password-comman.patch application/octet-stream 8.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2021-11-15 22:08:15 Re: [RFC] building postgres with meson
Previous Message Daniel Gustafsson 2021-11-15 21:44:19 Re: Support for NSS as a libpq TLS backend