Re: time conversion fuinctions - Mailing list pgsql-general

From Tom Lane
Subject Re: time conversion fuinctions
Date
Msg-id 18763.1160236625@sss.pgh.pa.us
Whole thread Raw
In response to time conversion fuinctions  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Responses Re: time conversion fuinctions
Re: time conversion fuinctions
List pgsql-general
Rafal Pietrak <rafal@zorro.isa-geek.com> writes:
> Is this the expected result?

timestamp_date() currently returns NULL if the timestamp is infinity.
Since we don't have any representation for infinity in the date type,
this is pretty much its only alternative other than throwing an error
(which might indeed be a saner behavior).  There is a TODO item to
support +/-infinity in dates, which would be the correct long-term
solution.

            regards, tom lane

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: URGENT - startup process (PID 29541) was
Next
From: brian
Date:
Subject: Re: time conversion fuinctions