Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: Proposed pa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 9284 of 9806
Post > Topic >>

Re: Proposed patch - psql wraps at window width

by stark@[EMAIL PROTECTED] (Gregory Stark) Apr 30, 2008 at 10:02 AM

"Bruce Momjian" <bruce@[EMAIL PROTECTED]
> writes:

> Peter Eisentraut wrote:
>> Am Dienstag, 29. April 2008 schrieb Bruce Momjian:
>> > 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.
>> 
>> These rules don't seem very consistent.  You are mixing platform
dependencies, 
>> build options, theoretical, unproven failures of kernel calls, none of
which 
>> have anything to do with each other.  For example, if readline weren't 
>> installed, then there would be no one who sets COLUMNS, so why look at
it?  
>> If you want to allow users to set COLUMNS manually (possibly useful,
see Greg 
>> Stark's arguments), then it should have priority over ioctl(), not the
other 
>> way around.
>
> OK, two people like it, no one has objected.  :-)  I will work on making
> those changes.  Thanks.

Uh, precisely what changes are you referring to now? "These rules don't
seem
very consistent" doesn't sound like "no one has objected" to me.

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's PostGIS sup****t!

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 7 Posts in Topic:
Re: Proposed patch - psql wraps at window width
stark@[EMAIL PROTECTED]   2008-04-30 10:02:16 
Re: Proposed patch - psql wraps at window width
alvherre@[EMAIL PROTECTED  2008-04-30 10:09:13 
Re: Proposed patch - psql wraps at window width
tgl@[EMAIL PROTECTED] (T  2008-04-30 10:30:14 
Re: Proposed patch - psql wraps at window width
bryce2@[EMAIL PROTECTED]   2008-04-30 08:36:55 
Re: Proposed patch - psql wraps at window width
tgl@[EMAIL PROTECTED] (T  2008-04-30 11:45:29 
Re: Proposed patch - psql wraps at window width
bryce2@[EMAIL PROTECTED]   2008-04-30 15:45:45 
Re: Proposed patch - psql wraps at window width
bruce@[EMAIL PROTECTED]   2008-05-02 20:32:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 1:54:25 CDT 2008.