Search Postgresql Archives

Re: Making sure \timing is on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Fetter wrote:
> On Sun, May 11, 2008 at 11:48:29PM -0400, Tom Lane wrote:
> > "Scott Marlowe" <scott.marlowe@xxxxxxxxx> writes:
> > > Is it reasonable behavior to have \timing along toggle and \timing on
> > > / \timing off be a forced switch?  Just thinking of other scripts
> > > where this isn't a problem and having to update them.
> > 
> > The command without an argument should certainly keep the old toggle
> > behavior, for backwards compatibility.
> 
> Attached patch does some of the right thing, but doesn't yet handle
> error cases.  How liberal should we be about capitalization, spelling,
> etc.?

Please try ParseVariableBool() in psql/variables.c, and use diff -c.

-- 
  Bruce Momjian  <bruce@xxxxxxxxxx>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux