Re: time conversion fuinctions

From: brian <brian(at)zijn-digital(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: time conversion fuinctions
Date: 2006-10-07 16:04:04
Message-ID: 4527CFF4.70601@zijn-digital.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)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.
>

"long-term", indeed.

b

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tomi NA 2006-10-07 18:06:38 performace review
Previous Message Tom Lane 2006-10-07 15:57:05 Re: time conversion fuinctions