questions for the patch 'Enable pl/python to return records based on multiple OUT params' during reviewing

Поиск
Список
Период
Сортировка
От Unicron
Тема questions for the patch 'Enable pl/python to return records based on multiple OUT params' during reviewing
Дата
Msg-id 264747.15259.qm@web62408.mail.re1.yahoo.com
обсуждение исходный текст
Ответы Re: questions for the patch 'Enable pl/python to return records based on multiple OUT params' during reviewing  (Hannu Krosing <hannu@krosing.net>)
Список pgsql-hackers
<table border="0" cellpadding="0" cellspacing="0"><tr><td style="font: inherit;" valign="top">I created a function for
testingthe patch, but when i run following command, the function always raise an exception <br /><br />select
test_in_params('first');<br/>ERROR:  plpython: function "test_in_params" failed<br />DETAIL:  exceptions.NameError:
globalname 'first' is not defined<br /><br />here is the script of fucntion<br />create or replace function
test_in_params(firsttext)<br />   returns text<br />as $$<br />return first + 'first'<br />$$LANGUAGE plpythonu;<br
/><br/>Anyone help me   Thanks<br /></td></tr></table><br /> 

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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Looking for someone with MinGW
Следующее
От: "Fujii Masao"
Дата:
Сообщение: Re: Coding TODO for 8.4: Synch Rep