From: Peter Eisentraut <peter_e@gmx.net>
To: Markus Bertheau <twanger@bluetwanger.de>
To: pgsql-sql@postgresql.org
Subject: Re: Custom type where not all elements are comparable
Date: Mon, 5 Jul 2004 21:39:40 +0200
Message-ID: <200407052139.40156.peter_e@gmx.net> (raw)
In-Reply-To: <1089041496.3239.13.camel@dicaprio.akademie1.de>
References: <1089041496.3239.13.camel@dicaprio.akademie1.de>
Markus Bertheau wrote:
> Is it possible to define or implement a type in PostgreSQL not all
> values of which are comparable to each other? In particular I'm
> thinking of a duration type similar to the XML Schema duration
> type[1]. For example P2D (2 days) is less than P4D (4 days), but P1M
> (1 month) and P30D (30 days) are not comparable.
Smells like the interval type.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, twanger@bluetwanger.de
Subject: Re: Custom type where not all elements are comparable
In-Reply-To: <200407052139.40156.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox