Jord Tanner <[EMAIL PROTECTED]> writes: > It looks like to_char is unable to convert dates that fall in the range > of 01/01/1902 to 12/31/1969 (see below). I am running the Postgresql RPM > that is distributed with RH 8.0 (7.2.2.1). PGDATESTYLE is set to "SQL".
You need PG 7.2.3; it works around the glibc boys' decision to deliberately break mktime() for pre-1970 dates. If you're not happy about that (and you shouldn't be), complain to them. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org