Re: [HACKERS] [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-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] [GENERAL] psql \pset pager
Date: 2008-05-07 02:34:17
Message-ID: 200805070234.m472YHV27262@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:
> > Tom Lane wrote:
> >> 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?
>
> Just copy it --- it's not large enough to be worth doing something like
> inventing a /port module for, and besides it's not clear that you want
> exactly the same API.

Patch attached and applied.

--
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. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 2.2 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Q Master 2008-05-07 02:53:05 ERROR: could not open relation
Previous Message Kerri Reno 2008-05-07 01:13:29 Re: Is this possible in a trigger?

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2008-05-07 03:20:05 Re: [PATCHES] [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]
Previous Message Tom Lane 2008-05-07 02:19:02 Re: [PATCHES] column level privileges

Browse pgsql-patches by date

  From Date Subject
Next Message Alex Hunsaker 2008-05-07 03:20:05 Re: [PATCHES] [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]
Previous Message Tom Lane 2008-05-07 01:57:30 Re: [PATCHES] [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]