Re: plpgsql, return can contains any expression

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpgsql, return can contains any expression
Дата
Msg-id 13599.1157407876@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plpgsql, return can contains any expression  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Ответы Re: plpgsql, return can contains any expression  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список pgsql-patches
"Pavel Stehule" <pavel.stehule@hotmail.com> writes:
> This patch allows using any row expression in return statement and does
> transformation from untyped row to composite types if it's necessary.

This patch doesn't seem to cope with cases where the supplied tuple has
the wrong number of columns, and it doesn't look like it's being careful
about dropped columns either.  Also, that's a mighty bizarre-looking
choice of cache memory context in coerce_to_tuple ... but then again,
why are you bothering with a cache at all for temporary arrays?

            regards, tom lane

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

Предыдущее
От: Greg Sabino Mullane
Дата:
Сообщение: Re: Information schema - finalize key_column_usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Information schema - finalize key_column_usage