>>>>> "Tom" == Tom Lane <[email protected]> writes:
>>> Yup, fails the same way on an --enable-cassert build of 8.3.7. And on 8.2.13. Tom> Do you have a quick test case? I just finished coding up my Tom> plan-C fix, and I need some test cases ... Andrew> This is the one I've been using: This one is simpler and works on 8.2 as well: create or replace function foo(n integer, out a text, out b text) returns setof record language sql as $f$ select 'foo '||i, 'bar '||i from generate_series(1,$1) i; $f$; set work_mem=64; select t.a, t, t.a from foo(100000) t limit 1; ERROR: invalid memory alloc request size 2139062147 -- Andrew. -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
