Re: proposal: psql: show current user in prompt

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Jelte Fennema <postgres(at)jeltef(dot)nl>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kirk Wolak <wolakk(at)gmail(dot)com>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: proposal: psql: show current user in prompt
Date: 2023-08-28 13:00:05
Message-ID: CAFj8pRDG-2dEoLu0NXt5k231J-PSnzP5Kzzyx0CbKpOoq+0t4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

po 28. 8. 2023 v 13:58 odesílatel Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
napsal:

> Hi
>
>
>>>
>>>
>>> But afaict there's no problem with using pqParseInput3() and
>>> PQexecFinish() even if the message isn't handled as part of the
>>> transaction. Some other messages that pqParseInput3 handles which are
>>> not part of the transaction are 'N' (Notice) and 'K' (secret key).
>>>
>>
>> I have to recheck it
>>
>
> here is new version based on usage of PQexecFinish
>

with protocol test

Regards

Pavel

>
> Regards
>
> Pavel
>
>
>>
>> Regards
>>
>> Pavel
>>
>>
>

Attachment Content-Type Size
0002-Implementation-of-N-prompt-placeholder.patch text/x-patch 6.0 KB
0003-PQlinkParameterStatus-PQunlinkParameterStatus-test-b.patch text/x-patch 2.9 KB
0001-Protocol-ReportGUC-message.patch text/x-patch 10.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2023-08-28 13:01:47 RE: [PoC] pg_upgrade: allow to upgrade publisher node
Previous Message Peter Eisentraut 2023-08-28 12:55:54 Re: cataloguing NOT NULL constraints