Re: pg_dump fails (timestamp out of range)

From: T E Schmitz <mailreg(at)numerixtechnology(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pg_dump fails (timestamp out of range)
Date: 2007-02-26 11:05:08
Message-ID: 45E2BEE4.5090003@numerixtechnology.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane wrote:
> T E Schmitz <mailreg(at)numerixtechnology(dot)de> writes:
>
>>pg_dump: ERROR: timestamp out of range
>>pg_dump: SQL command to dump the contents of table "server_hit_bin"
>>failed: PQendcopy() failed.
>
>
> You should treat this as a corrupt-data exercise: you need to identify
> and fix (or delete) the offending row(s). In this case you might try
> tests like "bin_end_date_time > '1 Jan 9999'" and so on to see if you
> can determine exactly which rows are bad.

Dear Tom,
I can't thank you enough for the above advice. The test above identified
3 records and once they were removed I was able to dump the DB.

--

Best Regards,

Tarlika Elisabeth Schmitz

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2007-02-26 12:41:39 Re: pg_dump fails (timestamp out of range)
Previous Message Ezequias Rodrigues da Rocha 2007-02-26 00:43:58 Re: Insert based in a select