Peter Eisentraut wrote:
> 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.
I was thinking about Win32 or binaries that don't have readline.
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
+ If your life is a hard drive, Christ can be your backup. +
In response to
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 2008-04-29 12:17:26|
|Subject: Re: [HACKERS] Proposed patch - psql wraps at window width|
|Previous:||From: Thomas Mueller||Date: 2008-04-29 11:37:37|
|Subject: Re: Protection from SQL injection|