Re: OUT parameters in PL/Java

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OUT parameters in PL/Java
Дата
Msg-id 6796.1113400901@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OUT parameters in PL/Java  (Thomas Hallgren <thhal@mailblocks.com>)
Ответы Re: OUT parameters in PL/Java  (Thomas Hallgren <thhal@mailblocks.com>)
Список pgsql-hackers
Thomas Hallgren <thhal@mailblocks.com> writes:
> thhal=# create function javatest.recordExample(int, int) returns record 
> as 'org.postgresql.pljava.example.ComplexReturn.complexReturn' immutable 
> language java;
> CREATE FUNCTION
> thhal=# select * from javatest.recordExample(3, 4) as (foo int, bar int, 
> baz timestamptz);
> ERROR:  could not determine row description for function returning record

Hmm.  I think this is not your bug.  Is the call coming from
evaluate_function in clauses.c?  We need to either prevent that from
pre-evaluating a function returning RECORD, or fix it so it can pass
the expected tuple descriptor ... probably the former :-(
        regards, tom lane


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

Предыдущее
От: Thomas Hallgren
Дата:
Сообщение: Re: OUT parameters in PL/Java
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Re: OUT parameters in PL/Java