Re: Unable to convert date to tm

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ramiro Arenas R <ramiroa(at)coordinadora(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Unable to convert date to tm
Date: 2004-02-15 22:02:11
Message-ID: 10949.1076882531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Ramiro Arenas R <ramiroa(at)coordinadora(dot)com> writes:
> I have a column x in a table of type date and i have an index on x
> runing the query "SELECT * FROM table WHERE x >= '2004-01-01"
> i get this:

> Unable to convert date to tm

AFAICT, that error message hasn't existed in PG since 7.1. If you
are running 7.1.* or older, I'd suggest an update. The particular
issue here seems to be that 7.1 does not contain a workaround for
broken mktime() library routines that reject dates before 1970.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Robert Treat 2004-02-16 02:45:15 Re: umlimited arguments on function
Previous Message Tom Lane 2004-02-15 21:21:03 Re: returning multiple resultset?