agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Steve Martin <smartin@e-Commerce.Com>
To: postgres@postgres.Berkeley.EDU
Subject: Picking field types
Date: Tue, 31 Jan 1995 10:31:40 -0500
Message-ID: <9501311031.ZM5557@viper> (raw)

Can some one offer some advice or point me to some information on the
following.

I need a field type that is 10 characters, what is the best type to use:

1) a char16
2) text
3) an array of 10 chars
4) define my own type char10

I'm tempted to go with text for everything, are there performance reasons why
this would be a bad idea?

-- 
Stephen Martin
smartin@e-Commerce.COM
e-Commerce, Inc., 1030 Kamato Road, Suite 201 
Mississauga, Ontario, Canada   L4W 4B6        

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



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: postgres@postgres.berkeley.edu
  Cc: smartin@e-Commerce.Com
  Subject: Re: Picking field types
  In-Reply-To: <9501311031.ZM5557@viper>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox