Skip site navigation (1) Skip section navigation (2)

Re: Proposed patch - psql wraps at window width

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Gregory Stark <stark(at)enterprisedb(dot)com>, Bryce Nesbitt <bryce2(at)obviously(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Brendan Jurd <direvus(at)gmail(dot)com>, heikki(at)enterprisedb(dot)com
Subject: Re: Proposed patch - psql wraps at window width
Date: 2008-04-29 08:53:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.

In response to


pgsql-hackers by date

Next:From: dv @ nabbleDate: 2008-04-29 09:06:58
Subject: Re: SRF in SFRM_ValuePerCall mode
Previous:From: Peter EisentrautDate: 2008-04-29 08:44:28
Subject: Re: we don't have a bugzilla

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group