| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера