| From: | "Francisco Figueiredo Jr(dot)" <francisco(at)npgsql(dot)org> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Why select 1 where current_date = 'infinity'; doesn't work? |
| Date: | 2008-10-14 15:30:39 |
| Message-ID: | 438d02260810140830w71aaa452s3fb8e798568875dd@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, Oct 14, 2008 at 1:18 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Francisco Figueiredo Jr." <francisco(at)npgsql(dot)org> writes:
>>> ERROR: invalid input syntax for type date: "infinity"
>>> I thought I could use it anywhere in my sql.
>
> No, only timestamps support infinity.
>
> We do have a TODO item to allow type date to do that too. It's been asked
> for often enough, not sure why it hasn't happened. Seems easy enough,
> maybe I'll go do it.
>
Thank you very much, Tom, for your feedback on this!!
I will update our forum discussion with this information.
I know this may sound a little bit uncommon, but to me it's an honor
to know you are paying attention to my message! :)
Thanks again.
--
Regards,
Francisco Figueiredo Jr.
Npgsql Lead Developer
http://fxjr.blogspot.com
http://www.npgsql.org
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrus | 2008-10-14 15:43:30 | How to get schema name which violates fk constraint |
| Previous Message | Ang Chin Han | 2008-10-14 15:28:03 | Re: Drupal and PostgreSQL - performance issues? |