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

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 (view raw or flat)
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

sfpug by date

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

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