Re: pg_dump fails (timestamp out of range)

Поиск
Список
Период
Сортировка
Искать
От
T E Schmitz
Тема
Re: pg_dump fails (timestamp out of range)
Дата
Msg-id
45E2BEE4.5090003@numerixtechnology.de
Ответ на
Список
Дерево обсуждения
pg_dump fails (timestamp out of range) T E Schmitz <mailreg@numerixtechnology.de>
Re: pg_dump fails (timestamp out of range) Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_dump fails (timestamp out of range) T E Schmitz <mailreg@numerixtechnology.de>
Re: pg_dump fails (timestamp out of range) Andrew Sullivan <ajs@crankycanuck.ca>
Re: pg_dump fails (timestamp out of range) T E Schmitz <mailreg@numerixtechnology.de>
Tom Lane wrote:
> T E Schmitz  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

В списке pgsql-sql по дате отправления
От: Ezequias Rodrigues da Rocha
Дата:
Сообщение: Re: Insert based in a select
От: Andrew Sullivan
Дата:
FAQ