pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Somasekhar Bangalore <sbangalore@zensutra.com>
Cc: Ganesan Kanavathy <ganesh@magnusquest.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Field Size
Date: Mon, 8 Dec 2003 09:35:52 -0600
Message-ID: <20031208153552.GA5971@wolff.to> (raw)
In-Reply-To: <BF493B193A334743AA9EF48945E69C13518E54@exchange.india.zensutra.com>
References: <BF493B193A334743AA9EF48945E69C13518E54@exchange.india.zensutra.com>

On Mon, Dec 08, 2003 at 18:36:57 +0530,
  Somasekhar Bangalore <sbangalore@zensutra.com> wrote:
> There is no harm in having a field size of 1000 character provided u use the proper datatype. Don't user char(1000). Try using varchar(1000).

And if the 1000 limit is just a large number you picked rather than a
real rule for your data, then you probably want to use the TEXT type.



view thread (5+ messages)

Message-ID: <20031208153552.GA5971@wolff.to>
Permalink:  ../20031208153552.GA5971@wolff.to/
Also on:    postgresql.org/message-id/20031208153552.GA5971@wolff.to

 · 

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: bruno@wolff.to, sbangalore@zensutra.com, ganesh@magnusquest.com, pgsql-admin@postgresql.org
  Subject: Re: Field Size
  In-Reply-To: <20031208153552.GA5971@wolff.to>

* 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