Re: Error size varchar

From: Adam Kavan <akavan(at)cox(dot)net>
To: "Edwin Quijada" <listas_quijada(at)hotmail(dot)com>, tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error size varchar
Date: 2003-10-29 21:50:35
Message-ID: 5.2.1.1.0.20031029154926.00aaf130@pop.central.cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


At 05:06 PM 10/29/03 +0000, Edwin Quijada wrote:

>wHAT IS unconstrained varchar???

Define the column as just varchar. This allows a string of any
length. Then have a trigger truncate it after it is inserted.

--- Adam Kavan
--- akavan(at)cox(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Chapman 2003-10-29 23:46:27 Automatic auditing suggestion
Previous Message Scott Chapman 2003-10-29 20:59:25 Re: Database design question: ugliness or referential integrity?