From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Show notices immediately (again)
Date: Thu, 09 Jun 2022 07:37:26 +0000
Message-ID: <E1nzCjO-003QVj-5f@gemulon.postgresql.org> (raw)
psql: Show notices immediately (again)
The new show-all-results feature in psql (7844c9918) went out of its
way to show notices next to the results of the statements (in a
multi-statement string) that caused them. This also had the
consequence that notices for a single statement were not shown until
after the statement had executed, instead of right away. After some
discussion, it seems very difficult to satisfy both of these goals, so
here we are giving up on the first goal and just show the notices as
we get them. This restores the pre-7844c9918 behavior for notices.
Reported-by: Alastair McKinley <a.mckinley@analyticsengines.com>
Author: Fabien COELHO <coelho@cri.ensmp.fr>
Discussion: https://www.postgresql.org/message-id/flat/PAXPR02MB760039506C87A2083AD85575E3DA9%40PAXPR02MB7600.eu...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e77de23fbb0f4ef27090c144edcfa889bb2a06d5
Modified Files
--------------
src/bin/psql/common.c | 64 --------------------------------------
src/test/regress/expected/psql.out | 8 ++---
2 files changed, 4 insertions(+), 68 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: psql: Show notices immediately (again)
In-Reply-To: <E1nzCjO-003QVj-5f@gemulon.postgresql.org>
References: <E1nzCjO-003QVj-5f@gemulon.postgresql.org>
* 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