pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jack <datactrl@tpg.com.au>
To: pgsql-sql@postgresql.org
Subject: please advise on column data type
Date: Tue, 16 Apr 2002 11:25:04 +1000
Message-ID: <003b01c1e4e5$89c2c010$1400a8c0@jac> (raw)

When I create a table can I always use the rule, use VARCHAR for all
variable length string data and use CHAR for only fixed length string data.
Or I have to consider if the column will be set as an index or primary key,
it would be better to use CHAR for better performance.

JACK




view thread (3+ messages)  latest in thread

Message-ID: <003b01c1e4e5$89c2c010$1400a8c0@jac>
Permalink:  ../003b01c1e4e5$89c2c010$1400a8c0@jac/
Also on:    postgresql.org/message-id/003b01c1e4e5$89c2c010$1400a8c0@jac

 · 

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: datactrl@tpg.com.au
  Subject: Re: please advise on column data type
  In-Reply-To: <003b01c1e4e5$89c2c010$1400a8c0@jac>

* 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