Re: Field Size

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Somasekhar Bangalore <sbangalore(at)zensutra(dot)com>
Cc: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>, pgsql-sql(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: Field Size
Date: 2003-12-08 15:35:52
Message-ID: 20031208153552.GA5971@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

On Mon, Dec 08, 2003 at 18:36:57 +0530,
Somasekhar Bangalore <sbangalore(at)zensutra(dot)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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Treat 2003-12-08 21:15:50 Re: Auto commit Off how will it effect us ?
Previous Message Andrei Bintintan 2003-12-08 14:30:19 Re: timestamp field

Browse pgsql-sql by date

  From Date Subject
Next Message viola 2003-12-08 23:23:07 postgresql and ColdFusion
Previous Message Somasekhar Bangalore 2003-12-08 13:06:57 Re: Field Size