Re: Constraint: string length must be 32 chars

From: Harald Fuchs <hari(dot)fuchs(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Constraint: string length must be 32 chars
Date: 2010-10-17 08:44:50
Message-ID: 861v7pi4xp.fsf@mgm.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <4CBA2BC4(dot)9030105(at)darrenduncan(dot)net>,
Darren Duncan <darren(at)darrenduncan(dot)net> writes:

> I would further recommend turning the above into a separate data type,
> especially if you'd otherwise be using that constraint in several
> places, like this ...

FWIW, the shatypes contrib package includes a binary md5 datatype.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dean Rasheed 2010-10-17 08:49:08 Re: input out of error with haversine formula
Previous Message Alexander Farber 2010-10-17 06:47:01 Re: Constraint: string length must be 32 chars