Re: Format in psql

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: Bhuvan A <bhuvansql(at)myrealbox(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Format in psql
Date: 2003-02-03 10:46:25
Message-ID: 3E3E4881.1010204@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ian Barwick 2003-02-03 10:50:28 Re: Format in psql
Previous Message David Durst 2003-02-03 10:17:15 Commenting PLPGSQL