Re: BUG #4516: FOUND variable does not work after RETURN QUERY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4516: FOUND variable does not work after RETURN QUERY
Дата
Msg-id 3904.1225995571@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4516: FOUND variable does not work after RETURN QUERY  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: BUG #4516: FOUND variable does not work after RETURN QUERY  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-bugs
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> 2008/11/6 Tom Lane <tgl@sss.pgh.pa.us>:
>> RETURN isn't one of them.

> It should be enhanced - my initial proposal of return query expected
> so return query is last statement, that isn't now. So we could add
> this check there.

Well, changing the semantics of an already-released statement carries a
risk of breaking existing apps that aren't expecting it to change FOUND.
So I'd want to see a pretty strong case why this is important --- not
just that it didn't meet someone's didn't-read-the-manual expectation.

            regards, tom lane

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: BUG #4516: FOUND variable does not work after RETURN QUERY
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: BUG #4516: FOUND variable does not work after RETURN QUERY