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

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

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