pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Abdul Wahab Dahalan <wahab@mimos.my>
To: pgsql-sql@postgresql.org
Subject: Display format for column
Date: Fri, 07 May 2004 17:08:21 +0800
Message-ID: <409B5205.5030803@mimos.my> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <409B5205.5030803@mimos.my>
Permalink:  ../409B5205.5030803@mimos.my/
Also on:    postgresql.org/message-id/409B5205.5030803@mimos.my

 · 

reply

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: wahab@mimos.my
  Subject: Re: Display format for column
  In-Reply-To: <409B5205.5030803@mimos.my>

* 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