Re: psql 15beta1 does not print notices on the console until transaction completes

Поиск
Список
Период
Сортировка
Искать
От
Adrian Klaver
Тема
Re: psql 15beta1 does not print notices on the console until transaction completes
Дата
в 21:14:02
Msg-id
6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@aklaver.com
Ответ на
Список
Дерево обсуждения
psql 15beta1 does not print notices on the console until transaction completes Alastair McKinley <a.mckinley@analyticsengines.com>
Re: psql 15beta1 does not print notices on the console until transaction completes Adrian Klaver <adrian.klaver@aklaver.com>
Re: psql 15beta1 does not print notices on the console until transaction completes Adrian Klaver <adrian.klaver@aklaver.com>
Re: psql 15beta1 does not print notices on the console until transaction completes Alastair McKinley <a.mckinley@analyticsengines.com>
Re: psql 15beta1 does not print notices on the console until transaction completes Adrian Klaver <adrian.klaver@aklaver.com>
Re: psql 15beta1 does not print notices on the console until transaction completes Tom Lane <tgl@sss.pgh.pa.us>
Re: psql 15beta1 does not print notices on the console until transaction completes Adrian Klaver <adrian.klaver@aklaver.com>
Re: psql 15beta1 does not print notices on the console until transaction completes Rob Sargent <robjsargent@gmail.com>
On 5/29/22 13:59, Alastair McKinley wrote:
>  >
>  > From: Adrian Klaver 
>  > Sent: 29 May 2022 21:47To: Alastair McKinley 

> Hi Adrian,
> 
> I am running the function "select test_notice();" from the psql console 
> with psql/server versions 15beta1.
> 
> In psql 15beta1, the notice appears only after the function 
> returns/transaction completes.
> 
> If I execute the same function from psql 14.3 and server 15beta1, the 
> notice appears on the psql console immediately as expected, before the 
> pg_sleep() completes.
> 
> It's reproducible for me, I just double checked it.

Yeah, I see the same thing  after using the new psql.

> 
> I think Tom was able to reproduce this by the sounds of his response?

I have not received that post yet. I do see it in the archives. I had 
already tried:

\set SHOW_ALL_RESULTS off

which is supposed to restore to previous behavior, but it did not lead 
to the 14.3 result.

> 
> Best regards,
> 
> Alastair
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-general по дате отправления
От: Adrian Klaver
Дата:
От: Tom Lane
Дата:
FAQ