pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Interesting  date/time 60 second problem with Postgresql
2+ messages / 2 participants
[nested] [flat]

* Interesting  date/time 60 second problem with Postgresql
@ 2002-10-21 22:22  Will LaShell <will@lashell.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Will LaShell @ 2002-10-21 22:22 UTC (permalink / raw)
  To: pgsql-admin

We are in the process of moving an emergency servers old data from
Postgresql 7.1 to 7.2 and I got a very odd ( read as sucky ) error
when I went to psql -f the dump file.



psql:/mnt/nfs/sql/replication_test.sql:603812: ERROR:  copy: line 44060,
Bad timestamp external representation '2002-10-07 09:55:60.00-07'
psql:/mnt/nfs/sql/replication_test.sql:603812: lost synchronization with
server, resetting connection


neat eh?

I looked in the database and it actually has that timestamp. Which btw
is defaulted to "now()" 

I know there were time accuracy fixes put in, was this something that
was fixed?

Sincerely,

Will LaShell

Attachments:

  signature.asc (application/pgp-signature, 231B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Interesting date/time 60 second problem with Postgresql
@ 2002-10-21 22:39  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Will LaShell <will@lashell.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-10-21 22:39 UTC (permalink / raw)
  To: Will LaShell <will@lashell.net>; +Cc: pgsql-admin

Will LaShell <will@lashell.net> writes:
> psql:/mnt/nfs/sql/replication_test.sql:603812: ERROR:  copy: line 44060,
> Bad timestamp external representation '2002-10-07 09:55:60.00-07'

> I know there were time accuracy fixes put in, was this something that
> was fixed?

Yeah, this is an old bug.  You'll need to use sed or something to find
and fix the dump lines containing '60.00'.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-10-21 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 22:22 Interesting  date/time 60 second problem with Postgresql Will LaShell <will@lashell.net>
2002-10-21 22:39 ` Re: Interesting date/time 60 second problem with Postgresql Tom Lane <tgl@sss.pgh.pa.us>

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