Re: [HACKERS] Proposed patch - psql wraps at window width - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [HACKERS] Proposed patch - psql wraps at window width
Date
Msg-id 20080430220905.GC6149@alvh.no-ip.org
Whole thread Raw
In response to Re: [HACKERS] Proposed patch - psql wraps at window width  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: [HACKERS] Proposed patch - psql wraps at window width
List pgsql-patches
Gregory Stark wrote:
> "Alvaro Herrera" <alvherre@commandprompt.com> writes:

> > I think that could be fixed easily by having the syntax be something
> > like
> >
> > \pset format aligned:80
> > \pset format aligned:autowrap
>
> I suppose. It seems kind of inconvenient though, what advantage does it have?

Over what?

I think having a separate "\pset format wrapped" does not make much
sense.  The fact that it's wrapped is not a new format in itself, just a
property of the aligned format.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-patches by date:

Previous
From: "Merlin Moncure"
Date:
Subject: libpq object hooks
Next
From: Gregory Stark
Date:
Subject: Re: [HACKERS] Proposed patch - psql wraps at window width