Re: Proposed patch - psql wraps at window width - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Proposed patch - psql wraps at window width
Date
Msg-id 200804291053.04566.peter_e@gmx.net
Whole thread Raw
In response to Re: Proposed patch - psql wraps at window width  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [SPAM] Re: Proposed patch - psql wraps at window width  (Gregory Stark <stark@enterprisedb.com>)
Re: Proposed patch - psql wraps at window width  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Am Dienstag, 29. April 2008 schrieb Bruce Momjian:
> We do look at COLUMNS if the ioctl() fails, but not for file/pipe
> output.

This is quite a useless complication.  Readline uses exactly the same ioctl() 
call to determine the columns, so if ioctl() were to fail, then COLUMNS would 
be unset or wrong as well.


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: we don't have a bugzilla
Next
From: "dv @ nabble"
Date:
Subject: Re: SRF in SFRM_ValuePerCall mode