Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on
Date: 2014-11-21 18:05:47
Message-ID: 546F7EFB.20605@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 11/21/2014 12:32 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> On 11/21/2014 11:11 AM, Pavel Stehule wrote:
>>>> I noticed the other day that psql doesn't honor ECHO_HIDDEN for \sf.
>> OK. it was so trivial I just did it.
> I think it may not be quite as trivial as that. In particular, PSQLexec
> already contains error-reporting functionality, so I think that the
> minimal_error_message stuff may now be dead. You should hack things to
> cause a query error in there and see if the reporting behavior is nice.
>
>

Oh. ok.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-11-21 18:16:25 Re: Automatic PG_PRINTF_ATTRIBUTE
Previous Message Greg Stark 2014-11-21 18:01:35 Re: pg_multixact not getting truncated