Re: [GENERAL] psql \pset pager

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(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 15:56:42
Message-ID: 14862.1210089402@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-05-06 15:59:44 Re: more custom C function fun
Previous Message Dan "Heron" Myers 2008-05-06 15:39:50 Re: more custom C function fun

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-05-06 15:59:48 Re: Proposed patch - psql wraps at window width
Previous Message Tom Lane 2008-05-06 15:48:35 Re: Proposed patch - psql wraps at window width

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2008-05-06 16:52:11 Re: Verified fix for Bug 4137
Previous Message Bruce Momjian 2008-05-06 15:37:57 Re: [GENERAL] psql \pset pager