Re: Making sure \timing is on

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Francisco Reyes <lists(at)stringsutils(dot)com>, PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Making sure \timing is on
Date: 2008-05-12 21:30:48
Message-ID: 200805122130.m4CLUmc03905@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

David Fetter wrote:
> On Sun, May 11, 2008 at 11:48:29PM -0400, Tom Lane wrote:
> > "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-05-12 21:32:56 Re: Making sure \timing is on
Previous Message Craig Ringer 2008-05-12 21:26:46 Re: rounding problems

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-05-12 21:32:56 Re: Making sure \timing is on
Previous Message David Fetter 2008-05-12 21:17:06 Re: Making sure \timing is on