| От | Tom Lane |
|---|---|
| Тема | Re: improve FOUND in PL/PgSQL |
| Дата | |
| Msg-id | 17576.1029368156@sss.pgh.pa.us обсуждение |
| Ответ на | Re: improve FOUND in PL/PgSQL (Neil Conway <nconway@klamath.dyndns.org>) |
| Ответы |
Re: improve FOUND in PL/PgSQL
|
| Список | pgsql-patches |
Neil Conway <nconway@klamath.dyndns.org> writes:
>> This is better than what we had, but still seems confusing
> Ok, I made this part of the documentation more clear.
BTW, the text still fails to make it clear that the statements will in
fact reset FOUND to false when they process zero rows (or whatever).
One could easily read this text as saying that FOUND will be the logical
OR of whether all the statements-so-far found a row.
It might also be good to spell out that FOUND is local in each plpgsql
function, not a global variable.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера