Re: psql - add SHOW_ALL_RESULTS option - Mailing list pgsql-hackers

From Daniel Verite
Subject Re: psql - add SHOW_ALL_RESULTS option
Date
Msg-id c03630d5-9bd7-4d11-8409-5674f5a10238@manitou-mail.org
Whole thread Raw
In response to Re: psql - add SHOW_ALL_RESULTS option  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: psql - add SHOW_ALL_RESULTS option  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
    Fabien COELHO wrote:

> >> I'd go further and suggest that there shouldn't be a variable
> >> controlling this. All results that come in should be processed, period.
> >
> > I agree with that.
>
> I kind of agree as well, but I was pretty sure that someone would complain
> if the current behavior was changed.

If queries in a compound statement must be kept silent,
they can be converted to CTEs or DO-blocks to produce the
same behavior without having to configure anything in psql.
That cost on users doesn't seem too bad, compared to introducing
a knob in psql, and presumably maintaining it forever.


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite



pgsql-hackers by date:

Previous
From: Brendan Jurd
Date:
Subject: Re: Issue in to_timestamp/to_date while handling the quoted literal string
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: pg_receivewal documentation