Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group