Re: [HACKERS] Proposed patch - psql wraps at window width

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Bryce Nesbitt <bryce2(at)obviously(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Proposed patch - psql wraps at window width
Date: 2008-04-30 22:09:05
Message-ID: 20080430220905.GC6149@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Gregory Stark wrote:
> "Alvaro Herrera" <alvherre(at)commandprompt(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bryce Nesbitt 2008-04-30 22:45:45 Re: Proposed patch - psql wraps at window width
Previous Message Tom Lane 2008-04-30 21:33:38 Re: Protection from SQL injection

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2008-04-30 22:51:27 Re: [HACKERS] Proposed patch - psql wraps at window width
Previous Message Merlin Moncure 2008-04-30 20:23:45 libpq object hooks