Gunnar R|nning <gunnar(at)candleweb(dot)no> writes:
> ERROR: copy: line 154391, Bad timestamp external representation '2000-10-24 15:14:60.00+02'
BTW, did your original data contain any fractional-second timestamps?
I'm wondering if the original value might have been something like
2000-10-24 15:14:59.999
in which case sprintf's roundoff of the seconds field to %.2f format
would've been enough to do the damage.
regards, tom lane