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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 17:22:38
Message-ID: 546F74DE.1080508@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 11/21/2014 11:11 AM, Pavel Stehule wrote:
>
>
> 2014-11-21 16:46 GMT+01:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>>:
>
> Andrew Dunstan <andrew(at)dunslane(dot)net <mailto:andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-11-21 17:23:43 Re: [v9.5] Custom Plan API
Previous Message Pavel Stehule 2014-11-21 16:11:13 Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on