Re: Quick ? - terminal display for "select" results

From: David Fetter <david(at)fetter(dot)org>
To: SF Postgres <sfpug(at)postgresql(dot)org>
Subject: Re: Quick ? - terminal display for "select" results
Date: 2005-03-08 19:47:34
Message-ID: 20050308194734.GB8152@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug

On Tue, Mar 08, 2005 at 10:36:55AM -0800, Ben Riddell wrote:
> Hiya,
>
> Still finding my way around PostgreSQL (and command line interfaces
> in general), and had a quick question.
>
> MySQL has an optional command ending of \G that returns results
> vertically formatted -

psql has \x for doing this.

FYI, psql has a pretty good man page, partly because
suggestions--better still, patches ;)--to improve it are often acted
on. It also has on-line help: \? for psql internal commands, \h for
sql commands.

HTH :)

Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!

In response to

Browse sfpug by date

  From Date Subject
Next Message Josh Berkus 2005-03-08 19:51:01 Re: Quick ? - terminal display for "select" results
Previous Message Fred Moyer 2005-03-08 19:15:59 Re: Meeting this Wed, Full Info