Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Making sure...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 13 of 13 Topic 15505 of 16953
Post > Topic >>

Re: Making sure \timing is on

by alvherre@[EMAIL PROTECTED] (Alvaro Herrera) May 12, 2008 at 05:32 PM

David Fetter escribió:
> On Sun, May 11, 2008 at 11:48:29PM -0400, Tom Lane wrote:
> > "Scott Marlowe" <scott.marlowe@[EMAIL PROTECTED]
> 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,

Hmm, there's already code for parsing boolean variables in psql, see
ParseVariableBool.

-- 
Alvaro Herrera                               
http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 13 Posts in Topic:
Making sure \timing is on
lists@[EMAIL PROTECTED]   2008-05-11 19:52:00 
Re: Making sure \timing is on
tgl@[EMAIL PROTECTED] (T  2008-05-11 20:24:17 
Re: Making sure \timing is on
lists@[EMAIL PROTECTED]   2008-05-11 22:43:19 
Re: Making sure \timing is on
tgl@[EMAIL PROTECTED] (T  2008-05-11 23:04:33 
Re: Making sure \timing is on
scott.marlowe@[EMAIL PROT  2008-05-11 21:25:54 
Re: Making sure \timing is on
tgl@[EMAIL PROTECTED] (T  2008-05-11 23:48:29 
Re: Making sure \timing is on
david@[EMAIL PROTECTED]   2008-05-12 14:17:06 
Re: Making sure \timing is on
bruce@[EMAIL PROTECTED]   2008-05-12 17:30:48 
Re: Making sure \timing is on
david@[EMAIL PROTECTED]   2008-05-12 14:57:57 
Re: Making sure \timing is on
alvherre@[EMAIL PROTECTED  2008-05-13 10:26:26 
Re: Making sure \timing is on
tgl@[EMAIL PROTECTED] (T  2008-05-13 10:38:26 
Re: Making sure \timing is on
alvherre@[EMAIL PROTECTED  2008-05-13 10:47:40 
Re: Making sure \timing is on
alvherre@[EMAIL PROTECTED  2008-05-12 17:32:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 9:46:23 CDT 2008.