Re: \timing on/off - Mailing list pgsql-patches

From Tom Lane
Subject Re: \timing on/off
Date
Msg-id 17614.1213110165@sss.pgh.pa.us
Whole thread Raw
In response to Re: \timing on/off  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Responses Re: \timing on/off
List pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
>> I gather that the conclusion of the thread "Making sure \timing is on",
>> starting at:
>> http://archives.postgresql.org/pgsql-general/2008-05/msg00324.php
>>
>> was that we should leave \H and \a alone for now, because it's not clear
>> what "\H off" would do.

Yeah, I think that was the consensus.

>> Here's a patch, based on David's patch, that turns timing into a \pset
>> variable, and makes \timing an alias for \pset timing. This makes
>> \timing behave the same as \x.

This seems a bit random to me.  AFAIR all of the \pset properties are
associated with formatting of table output.  \timing doesn't belong.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Refactoring xlogutils.c
Next
From: Tom Lane
Date:
Subject: Re: SQL: table function support