Format in psql

From: Bhuvan A <bhuvansql(at)myrealbox(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Format in psql
Date: 2003-02-03 10:54:32
Message-ID: Pine.LNX.4.44.0302031619080.11108-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

regards,
bhuvaneswaran

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Vicente Alabau Gonzalvo 2003-02-03 12:08:21 Automatic casting
Previous Message Ian Barwick 2003-02-03 10:50:28 Re: Format in psql