pgsql-bugs@postgresql.org writes:
> Large data field causes a backend crash.
> test=# copy test from '/stf/bruc/RnD/genscan/foo.test';
> TRAP: Too Large Allocation Request("!(0 < (size) && (size) <= ((Size) 0xfffffff)):size=268435456 [0x10000000]", File:
"mcxt.c",Line: 478)
> !(0 < (size) && (size) <= ((Size) 0xfffffff)) (0) [No such file or directory]
Yeah, this should probably be treated as a plain elog(ERROR) now,
instead of an Assert failure ...
regards, tom lane