Re: psql \G command -- send query and output using extended format

From: David Fetter <david(at)fetter(dot)org>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Dawid Kuroczko <qnex42(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql \G command -- send query and output using extended format
Date: 2008-04-03 18:43:30
Message-ID: 20080403184329.GC5276@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, Apr 03, 2008 at 01:06:26PM -0400, Bruce Momjian wrote:
> Alvaro Herrera wrote:
> > Bruce Momjian escribi?:
> >
> > > It seems more helpful if there were \x option to use extended format
> > > only when the output is too wide. TODO already has:
> > >
> > > o Add auto-expanded mode so expanded output is used if the row
> > > length is wider than the screen width.
> > >
> > > Consider using auto-expanded mode for backslash commands like \df+.
> >
> > Some sort of "\x auto"? Sounds interesting ...
>
> Yep.

Having \df+ go to \x automatically sounds like a really great idea :)

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-03 18:53:33 Re: best way for export gram.y symbols
Previous Message Tom Lane 2008-04-03 18:32:05 About numeric division again

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-04-03 19:32:43 Re: [PATCHES] Re: BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data
Previous Message Heikki Linnakangas 2008-04-03 18:22:29 Re: [PATCHES] Re: BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data