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

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "David Fetter" <david(at)fetter(dot)org>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "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 20:41:19
Message-ID: b42b73150804031341v2c755c16y5b9a088b70450cc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, Apr 3, 2008 at 4:08 PM, David Fetter <david(at)fetter(dot)org> wrote:
>
> On Thu, Apr 03, 2008 at 03:43:50PM -0400, Merlin Moncure wrote:
> > On Thu, Apr 3, 2008 at 2:43 PM, David Fetter <david(at)fetter(dot)org> wrote:
> > > On Thu, Apr 03, 2008 at 01:06:26PM -0400, Bruce Momjian wrote:
> > > > > Some sort of "\x auto"? Sounds interesting ...
> > > >
> > > > Yep.
> > >
> > > Having \df+ go to \x automatically sounds like a really great
> > > idea :)
> >
> > you can get pretty good resultsr currently for \df+ if you set up
> > your 'less' pager a particular way.
>
> Does 'less' have a way to re-arrange columns?!?

no, but being able to scroll left/right with the arrow keys is
(usually) just as good.

that said, \G is pretty neat...I use it once in a while on the 'other'
open source database.

merlin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-03 20:51:41 Re: psql \G command -- send query and output using extended format
Previous Message Mark Mielke 2008-04-03 20:27:44 Re: [GENERAL] SHA1 on postgres 8.3

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-03 20:51:41 Re: psql \G command -- send query and output using extended format
Previous Message David Fetter 2008-04-03 20:08:09 Re: psql \G command -- send query and output using extended format