Re: [ADMIN] Unable to pg_dump 8.1.2 - memory alloc error

2007-02-06 Thread David Cotter
Thanks - I tracked down the offending row and deleted it. Just in case anyone wishes to know how select * from site where id < 5000 (no error) select * from site where id < 1 (no error) select * from site where id < 15000 (error) ... select * from site where id = 12344 (no error) select * fro

Re: [ADMIN] Unable to pg_dump 8.1.2 - memory alloc error

2007-02-06 Thread Shoaib Mir
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 (

[ADMIN] Unable to pg_dump 8.1.2 - memory alloc error

2007-02-05 Thread airbulb
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" fai