Re: Enable pl/python to return records based on multiple OUT params

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Enable pl/python to return records based on multiple OUT params
Дата
Msg-id 17342.1225810676@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Enable pl/python to return records based on multiple OUT params  (Hannu Krosing <hannu@2ndQuadrant.com>)
Ответы Re: Enable pl/python to return records based on multiple OUT params  (Hannu Krosing <hannu@2ndQuadrant.com>)
Список pgsql-hackers
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 :-(
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: patch: array_ndims
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Enable pl/python to return records based on multiple OUT params