Re: rotate psql output - Mailing list pgsql-general

From Tommy Gildseth
Subject Re: rotate psql output
Date
Msg-id 4CA47257.7040305@usit.uio.no
Whole thread Raw
In response to rotate psql output  (Ben Carbery <ben.carbery@gmail.com>)
Responses Re: rotate psql output  (Ben Carbery <ben.carbery@gmail.com>)
List pgsql-general
Ben Carbery wrote:
> I have a query that returns many columns but few rows. I would like to
> display output horizontally instead of vertically, i.e. rotating by 90
> degress, so column headings appear in the left margin, and the output is
> not 'wrapped'.
> Is this possible? I have had no luck searching for this as rotate
> usually means log rotation.
> BC


Have you tried \x ?

--
Tommy Gildseth
DBA, Gruppe for databasedrift
Universitetet i Oslo, USIT
m: +47 45 86 38 50
t: +47 22 85 29 39

pgsql-general by date:

Previous
From: Ben Carbery
Date:
Subject: rotate psql output
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: rotate psql output