Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on
Date
Msg-id 546F74DE.1080508@dunslane.net
Whole thread Raw
In response to Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 11/21/2014 11:11 AM, Pavel Stehule wrote:
>
>
> 2014-11-21 16:46 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us 
> <mailto:tgl@sss.pgh.pa.us>>:
>
>     Andrew Dunstan <andrew@dunslane.net <mailto:andrew@dunslane.net>>
>     writes:
>     > I noticed the other day that psql doesn't honor ECHO_HIDDEN for \sf.
>     > This looks on a somewhat cursory examination to be the only
>     significant
>     > place that doesn't. Is there any reason for this, or should I just
>     > adjust it so that it uses PSQLexec like pretty much every other
>     slash
>     > command?
>
>     I think that was just an oversight in that patch. Adjust away.
>
>
> yes, it is open ticket
>
> http://www.postgresql.org/message-id/CAFj8pRCu3wV0MK4WYFBQDs1vosNmh5tXS2Gb=+fbojnW-1wzQg@mail.gmail.com
>
>


OK. it was so trivial I just did it.

cheers

andrew



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on
Next
From: Tom Lane
Date:
Subject: Re: [v9.5] Custom Plan API