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
Дата
Msg-id 6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@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  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 5/29/22 13:59, Alastair McKinley wrote:
>  >
>  > From: Adrian Klaver <adrian.klaver@aklaver.com>
>  > 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
Дата:
Сообщение: Re: psql 15beta1 does not print notices on the console until transaction completes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql 15beta1 does not print notices on the console until transaction completes