From: Tomasz Myrta <jasiek@klaster.net>
To: Bhuvan A <bhuvansql@myrealbox.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Format in psql
Date: Mon, 03 Feb 2003 11:46:25 +0100
Message-ID: <3E3E4881.1010204@klaster.net> (raw)
References: <Pine.LNX.4.44.0302031619080.11108-100000@Bhuvan.bksys.co.in>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasiek@klaster.net, bhuvansql@myrealbox.com
Subject: Re: Format in psql
In-Reply-To: <3E3E4881.1010204@klaster.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox