Re: Constraint: string length must be 32 chars - Mailing list pgsql-general

From Harald Fuchs
Subject Re: Constraint: string length must be 32 chars
Date
Msg-id 861v7pi4xp.fsf@mgm.protecting.net
Whole thread Raw
In response to Constraint: string length must be 32 chars  (Alexander Farber <alexander.farber@gmail.com>)
Responses Re: Constraint: string length must be 32 chars
List pgsql-general
In article <4CBA2BC4.9030105@darrenduncan.net>,
Darren Duncan <darren@darrenduncan.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.

pgsql-general by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Constraint: string length must be 32 chars
Next
From: Dean Rasheed
Date:
Subject: Re: input out of error with haversine formula