From: Joe Abbate <jma@freedomcircle.com>
To: Gavan Schneider <list.pg.gavan@pendari.org>
Cc: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: DOMAIN/composite TYPE vs. base TYPE
Date: Mon, 28 Sep 2020 18:05:42 -0400
Message-ID: <20b6c06f-baa5-b6ad-baa7-e3975da9d4de@freedomcircle.com> (raw)
In-Reply-To: <BF23556F-6785-469D-894D-F3C356654DFE@pendari.org>
References: <6198aad8-df09-569e-686b-7e32979cd7e4@freedomcircle.com>
<0E2C98A4-7228-4FCE-9F22-328F0543F4F0@gmail.com>
<3032f56a-3a5c-682b-512e-af6e8cb363d1@freedomcircle.com>
<BF23556F-6785-469D-894D-F3C356654DFE@pendari.org>
Hello Gavan,
On 28/9/20 17:52, Gavan Schneider wrote:
> Consider expressing all the component fields as a range. This allows you
> the ability to be a precise as you need and still have the benefits of
> well defined comparison functions.
I did consider that, but it's a tradeoff between 80% of the cases being
a single precise date, 18% being a single date with some imprecision
around a single month, and the rest with "ranges" of months or other
intervals.
Joe
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: jma@freedomcircle.com, list.pg.gavan@pendari.org, robjsargent@gmail.com
Subject: Re: DOMAIN/composite TYPE vs. base TYPE
In-Reply-To: <20b6c06f-baa5-b6ad-baa7-e3975da9d4de@freedomcircle.com>
References: <6198aad8-df09-569e-686b-7e32979cd7e4@freedomcircle.com> <0E2C98A4-7228-4FCE-9F22-328F0543F4F0@gmail.com> <3032f56a-3a5c-682b-512e-af6e8cb363d1@freedomcircle.com> <BF23556F-6785-469D-894D-F3C356654DFE@pendari.org> <20b6c06f-baa5-b6ad-baa7-e3975da9d4de@freedomcircle.com>
* 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