Re: TupleTableSlot API problem

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: TupleTableSlot API problem
Дата
Msg-id 874oxbaeh4.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: TupleTableSlot API problem  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: TupleTableSlot API problem
Список pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> 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 myTom> 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 sqlas $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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: New trigger option of pg_standby
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TupleTableSlot API problem