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

From Aidan Van Dyk
Subject Re: Proposed patch - psql wraps at window width
Date
Msg-id 20080426134800.GF6337@yugib.highrise.ca
Whole thread Raw
In response to Re: Proposed patch - psql wraps at window width  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
* Bruce Momjian <bruce@momjian.us> [080426 09:44]:

> Why does the first 'ls' not honor columns while the second does?  How
> does 'ls' detect that the COLUMNS=120 is somehow different from the
> default COLUMNS value?

I would hazard a guess that COLUMNS isn't "exported" from your
shell environment in the first case.   In the other cases, the explicit:VAR=... command
the shell is told to set VAR explicitly before starting command, in
addition to any exported vars.

a.

-- 
Aidan Van Dyk                                             Create like a god,
aidan@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated values to an existing
Next
From: Bruce Momjian
Date:
Subject: Re: Proposed patch - psql wraps at window width