Display format for column

From: Abdul Wahab Dahalan <wahab(at)mimos(dot)my>
To: pgsql-sql(at)postgresql(dot)org
Subject: Display format for column
Date: 2004-05-07 09:08:21
Message-ID: 409B5205.5030803@mimos.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi there!

How do we format column size for displaying data in postgresql.
for example my data type for customername is varchar(100) and I want to
display the first 25 chars.
How should I do that?

can I do something like:

psql > column customername format a25

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Karel Zak 2004-05-07 09:58:32 Re: Display format for column
Previous Message Jerome Alet 2004-05-07 08:38:22 Re: EXPORT / IMPORT