Re: function with a composite type calling another function - Mission Impossible?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: function with a composite type calling another function - Mission Impossible?
Дата
Msg-id 24964.1086191039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на function with a composite type calling another function - Mission Impossible?  ("Riccardo G. Facchini" <abief_ag_-postgresql@yahoo.com>)
Ответы Re: function with a composite type calling another function - Mission Impossible?
Список pgsql-sql
"Riccardo G. Facchini" <abief_ag_-postgresql@yahoo.com> writes:
> declare my_new_complex complex_number;

> select * from complex_to_complex(my_new_complex) into my_result;

> ERROR:  column "my_new_complex" does not exist

plpgsql doesn't presently cope with passing whole-row variables into SQL
expressions, which is essentially what you've got here.  There's some
chance it will work in time for 7.5.
        regards, tom lane


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

Предыдущее
От: "Riccardo G. Facchini"
Дата:
Сообщение: function with a composite type calling another function - Mission Impossible?
Следующее
От: "Riccardo G. Facchini"
Дата:
Сообщение: Re: function with a composite type calling another function - Mission Impossible?