From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ramiro Arenas R <ramiroa@coordinadora.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Unable to convert date to tm
Date: Sun, 15 Feb 2004 17:02:11 -0500
Message-ID: <10949.1076882531@sss.pgh.pa.us> (raw)
In-Reply-To: <1076445948.5346.12.camel@maxims.coordinadora.com>
References: <1076445948.5346.12.camel@maxims.coordinadora.com>
Ramiro Arenas R <ramiroa@coordinadora.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, ramiroa@coordinadora.com
Subject: Re: Unable to convert date to tm
In-Reply-To: <10949.1076882531@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox