Re: Format in psql - Mailing list pgsql-sql

From Tomasz Myrta
Subject Re: Format in psql
Date
Msg-id 3E3E4881.1010204@klaster.net
Whole thread Raw
In response to Format in psql  (Bhuvan A <bhuvansql@myrealbox.com>)
Responses Re: Format in psql
List pgsql-sql
Bhuvan A wrote:
> Hi,
> 
> I am using pgsql-7.2.3. Can i able to format the output of a SELECT sql in 
> psql as perl format? 
> 
> Something like,
> +--------------+--------------------------------------------------------+
> | work_desc_id |                       short_desc                       |
> +--------------+--------------------------------------------------------+
> |            1 | Short description line 1                               |
> |              | Short description line 2                               |
> |              | Short description line 3                               |
> |              | Short description line n                               |
> +--------------+--------------------------------------------------------+
> 
> If yes, how can i do this? I have gone through the manual page of psql but
> such formatting information donot appear over there. So, hope to get some
> details over here. A link would be enough.
> 
man psql.

Inside psql:
\pset border 2

Regards,
Tomasz Myrta




pgsql-sql by date:

Previous
From: Bhuvan A
Date:
Subject: Format in psql
Next
From: Ian Barwick
Date:
Subject: Re: Format in psql