pg_dump / dates:

From: "Martin Crundall" <pgsql(at)ac6rm(dot)net>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: pg_dump / dates:
Date: 2002-11-12 05:15:53
Message-ID: 64726.24.52.245.104.1037078153.squirrel@webmail.ac6rm.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-sql by date

  From Date Subject
Next Message dnaren 2002-11-12 07:22:17
Previous Message Josh Berkus 2002-11-11 20:12:59 Re: Permission on insert rules