Re: challenging constraint situation - how do I make it

From: Alban Hertroys <alban(at)magproductions(dot)nl>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Kenneth Downs <ken(at)secdat(dot)com>, Harald Armin Massa <haraldarminmassa(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: challenging constraint situation - how do I make it
Date: 2006-05-24 14:50:24
Message-ID: 447472B0.4010206@magproductions.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Florian G. Pflug wrote:
> You could define a new datatype containing two timestamps. From 8.1
> onwards you can use such a composite type as a field, I believe (but I
> haven't checked it).
>
> You can use pgsql functions to define operators for your type - but
> you'll have to use the default input/output functions for composite
> types I guess, because those can only be codec in C AFAIK.

That's what I was refering to. Apparently I didn't make myself very clear.

--
Alban Hertroys
alban(at)magproductions(dot)nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
7500 AK Enschede

// Integrate Your World //

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2006-05-24 14:54:03 Re: background triggers?
Previous Message Sim Zacks 2006-05-24 14:48:43 Re: background triggers?