Re: [GENERAL] psql \pset pager - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] psql \pset pager
Date
Msg-id 14862.1210089402@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] psql \pset pager  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [GENERAL] psql \pset pager  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Proposed patch - psql wraps at window width
Next
From: Bruce Momjian
Date:
Subject: Re: Proposed patch - psql wraps at window width