Howard Kao <fatearthling(at)gmail(dot)com> writes:
> Basically we tried to restore a db and the following error message occurred:
> pg_restore: [archiver (db)] could not execute query: ERROR: invalid
> memory alloc request size 1836016426
I'm wondering about corruption of the dump file. I don't think either
-Fc or -Ft dump format can survive being run through a Unix/Windows
newline conversion, for example. But as Richard noted, more detail
would help.
regards, tom lane