pg_dump / dates: - Mailing list pgsql-sql

From Martin Crundall
Subject pg_dump / dates:
Date
Msg-id 64726.24.52.245.104.1037078153.squirrel@webmail.ac6rm.net
Whole thread Raw
List pgsql-sql
Question for Tom Lockhart:

pg_dump is generating some dates that look like:  '2002-09-09 02:11:60.00'
or '2002-10-31 23:59:60.00'.  psql <dbname> -f <pg_dump output file>
doesn't like these dates.  I can sed the :60 to a :59 but -- in the latter
case it moves the date backwards a day, which doesn't work for my app.  I
understand from reading some of the list threads that there's a good
reason to allow for "second" field values greater than 59, and per an
email thread I had with Tom Lane, this has been addressed -- that it was a
rounding error issue on some platforms.

I'm running postgres 7.2.2 on slackware 8.1 (kernel 2.4.18).

Is there a workaround on this?

Tks and kind regards,

Martin Crundall





pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Permission on insert rules
Next
From: dnaren@hss.hns.com
Date:
Subject: ...