pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Alastair McKinley <a.mckinley@analyticsengines.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: psql 15beta1 does not print notices on the console until transaction completes
Date: Sun, 29 May 2022 14:14:02 -0700
Message-ID: <6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@aklaver.com> (raw)
In-Reply-To: <PAXPR02MB7600E503CF85965370C5EB91E3DA9@PAXPR02MB7600.eurprd02.prod.outlook.com>
References: <PAXPR02MB760039506C87A2083AD85575E3DA9@PAXPR02MB7600.eurprd02.prod.outlook.com>
	<b255aee9-ff01-b59b-f6f6-8becb0d1a0d0@aklaver.com>
	<PAXPR02MB7600E503CF85965370C5EB91E3DA9@PAXPR02MB7600.eurprd02.prod.outlook.com>

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





view thread (16+ messages)  latest in thread

Message-ID: <6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@aklaver.com>
Permalink:  ../6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@aklaver.com/
Also on:    postgresql.org/message-id/6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: adrian.klaver@aklaver.com, a.mckinley@analyticsengines.com, pgsql-general@lists.postgresql.org
  Subject: Re: psql 15beta1 does not print notices on the console until transaction completes
  In-Reply-To: <6d14b1d1-fb8b-87d3-bdf8-d3c93c8bbb7b@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox