View Single Post

   
  #3 (permalink)  
Old 05-07-2008, 11:18 AM
Bruce Momjian
 
Posts: n/a
Default Re: [GENERAL] psql \pset pager

Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > So, I think the answer is that we have the current behavior because of
> > backward compatibility. Perhaps we should be more strict in
> > ParseVariableBool(), perhaps only allowing true/false and on/off.

>
> If we're going to change it, we should make it match GUC's parse_bool,
> which has had some actual thought put into it.


Good idea. Do I copy the C code into /psql or somehow share the
function?

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

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply With Quote