Re: [GENERAL] psql \pset pager

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Steve Crawford <scrawford(at)pinpointresearch(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] psql \pset pager
Date: 2008-05-06 21:34:49
Message-ID: 200805062134.m46LYng10880@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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(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 Alex Vinogradovs 2008-05-06 21:46:40 Re: xlogdump & pgview
Previous Message Alex Vinogradovs 2008-05-06 21:20:54 xlogdump & pgview

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-05-06 21:44:44 Re: [0/4] Proposal of SE-PostgreSQL patches
Previous Message Tom Lane 2008-05-06 21:33:13 Re: statement timeout vs dump/restore

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-05-06 21:44:44 Re: [0/4] Proposal of SE-PostgreSQL patches
Previous Message Tom Lane 2008-05-06 21:26:34 Re: Snapshot management, final