Re: Unable to dump database/table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: krok(at)void(dot)ru
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Unable to dump database/table
Date: 2004-10-11 14:17:13
Message-ID: 4906.1097504233@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Krok <krok(at)void(dot)ru> writes:
> pg_dump: dumping contents of table users
> pg_dump: ERROR: out of memory
> DETAIL: Failed on request of size 536870920.
> pg_dump: SQL command to dump the contents of table "users" failed:
> PQendcopy() failed.
> pg_dump: Error message from server: ERROR: out of memory
> DETAIL: Failed on request of size 536870920.

Looks like corrupt data to me (specifically, a variable-width field
with a ridiculous length word).

You may care to consult the archives regarding methods for dealing with
this sort of problem. If you're lucky, there's only one bad row ...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Krok 2004-10-11 15:10:32 Re: Unable to dump database/table
Previous Message Krok 2004-10-11 11:27:07 Unable to dump database/table