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: (view raw, whole thread or download thread mbox)
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 :)

David Fetter david(at)fetter(dot)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-2017 The PostgreSQL Global Development Group