Re: Enable pl/python to return records based on multiple OUT params
В списке pgsql-hackers по дате отправления:
| От | Hannu Krosing |
|---|---|
| Тема | Re: Enable pl/python to return records based on multiple OUT params |
| Дата | |
| Msg-id | 1225810977.7826.1.camel@huvostro обсуждение исходный текст |
| Ответ на | Re: Enable pl/python to return records based on multiple OUT params (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Tue, 2008-11-04 at 09:57 -0500, Tom Lane wrote: > Hannu Krosing <hannu@2ndQuadrant.com> writes: > > ... even the code currently in CVS crashes the backend for this > > > py=# create or replace function add_any(in i1 anyelement, in i2 > > anyelement, out t text) language plpythonu as $$ > > return i1 + i2 > > $$; > > CREATE FUNCTION > > py=# select * from add_any(1,2); > > server closed the connection unexpectedly > > Well, that's just a stupid uninitialized-variable bug :-( there are probably more complex ones, if a ANYELEMENT taking function is used more than one time, with different types of args > regards, tom lane -- ------------------------------------------ Hannu Krosing http://www.2ndQuadrant.com PostgreSQL Scalability and Availability Services, Consulting and Training
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера