\SET QUIET and \timing

Started by David E. Wheelerover 17 years ago4 messages
#1David E. Wheeler
david@kineticode.com

Howdy,

I find that, in psql, if I set

\SET QUIET 1

Then, even with \timing toggled on, no timing info is output.

Relatedly, this doesn't seem to turn off quiet mode:

\SET QUIET 0

Are these bugs?

Thanks,

David

#2David E. Wheeler
david@kineticode.com
In reply to: David E. Wheeler (#1)
Re: \SET QUIET and \timing

On Jul 7, 2008, at 16:07, David E. Wheeler wrote:

Howdy,

I find that, in psql, if I set

\SET QUIET 1

Then, even with \timing toggled on, no timing info is output.

Relatedly, this doesn't seem to turn off quiet mode:

\SET QUIET 0

Are these bugs?

I found that \set QUIET (on|off) works, but still, \timing has no
output when quiet is on.

Thanks,

David

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: David E. Wheeler (#1)
Re: \SET QUIET and \timing

"David E. Wheeler" <david@kineticode.com> writes:

Relatedly, this doesn't seem to turn off quiet mode:

\SET QUIET 0

In current releases any value other than "off" (case insensitive)
is taken as "true". IIRC this was improved recently.

regards, tom lane

#4David E. Wheeler
david@kineticode.com
In reply to: Tom Lane (#3)
Re: \SET QUIET and \timing

On Jul 7, 2008, at 17:14, Tom Lane wrote:

"David E. Wheeler" <david@kineticode.com> writes:

Relatedly, this doesn't seem to turn off quiet mode:

\SET QUIET 0

In current releases any value other than "off" (case insensitive)
is taken as "true". IIRC this was improved recently.

Cute. Thanks.

David