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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group