Re: Unable to pg_dump 8.1.2 - memory alloc error - Mailing list pgsql-admin

From Shoaib Mir
Subject Re: Unable to pg_dump 8.1.2 - memory alloc error
Date
Msg-id bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com
Whole thread Raw
In response to Unable to pg_dump 8.1.2 - memory alloc error  ("airbulb " <airbulb@gmail.com>)
Responses Re: Unable to pg_dump 8.1.2 - memory alloc error  ("David Cotter" <davidcotter@gmail.com>)
List pgsql-admin
Hmmm that looks like to me a HW problem causing data corruption. Try doing a REINDEX for the database, if possible restart the database server machine and then try taking the dump again to see if that works.

But I will recommend doing memory tests for the hardware...

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/31/07, airbulb < airbulb@gmail.com> wrote:
Hello

I get the following error when dumping a pg database with WIN_1252 encoding:

pg_dump --clean --no-owner dumpfile | gzip >/home/postgres/globalen.dump.gz 2>>./err.out

pg_dump: ERROR:  invalid memory alloc request size 4294967293
pg_dump: SQL command to dump the contents of table "site" failed: PQendcopy() failed.
pg_dump: Error message from server: ERROR:  invalid memory alloc request size 4294967293
pg_dump: The command was: COPY public.site (site_id, url, status, created, "domain", title) TO stdout;

Possibly related is a particular query with pgAdmin on same site table with above error yields
ERROR:  invalid multibyte character for locale

I have upgraded from 8.1.2 to 8.1.6 but get the same error.

Any help appreciated.

Regards,
David.

pgsql-admin by date:

Previous
From: "Shoaib Mir"
Date:
Subject: Re: Postgresql driver name
Next
From: "David Cotter"
Date:
Subject: Re: Unable to pg_dump 8.1.2 - memory alloc error