Re: [GENERAL] Making sure \timing is on - Mailing list pgsql-patches

From Tom Lane
Subject Re: [GENERAL] Making sure \timing is on
Date
Msg-id 7719.1210720261@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Making sure \timing is on  (David Fetter <david@fetter.org>)
Responses Re: [GENERAL] Making sure \timing is on
List pgsql-patches
David Fetter <david@fetter.org> writes:
> On Tue, May 13, 2008 at 11:36:57AM -0400, Tom Lane wrote:
>>> Uh, my point was that the agreement was to do this to *all* of
>>> psql's toggling backslash commands, not only \timing.
>>
>> Done :)

Hmm, I thought we had a lot more than three that were like this.
But on looking closer, I guess all the other ones are \pset boolean
options that already behave properly.

Actually, \a and \H are fairly bogus anyway, because they are "toggling"
a setting that has more than two values.  I wonder whether defining the
argument as a boolean is really very sane.  Perhaps it would be better to
take the argument if given as just a regular format setting --- ie,
with an argument, either of these would just be a shorthand for
\pset format.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: options for RAISE statement
Next
From: Tom Lane
Date:
Subject: Re: stored procedure stats in collector