Re: date range query help - Mailing list pgsql-general

From Tom Lane
Subject Re: date range query help
Date
Msg-id 2785.1227198016@sss.pgh.pa.us
Whole thread Raw
In response to Re: date range query help  (Sam Mason <sam@samason.me.uk>)
List pgsql-general
Sam Mason <sam@samason.me.uk> writes:
> I sometimes find it easier to store ranges like this with having the
> open ends at infinity.  This is easier with timestamps as they have
> magic 'infinity' values in PG (both positive and negative).  Values of
> date type don't have any special values like this which makes things a
> bit more awkward.

Just FYI, date does have +/-infinity as of 8.4.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: hidden errors calling a volatile function inside a stable function
Next
From: "Dmitry Koterov"
Date:
Subject: Propose: enum with all registered table names?