Re: [HACKERS] merging some features from plpgsql2 project
| От | Pavel Stehule |
|---|---|
| Тема | Re: [HACKERS] merging some features from plpgsql2 project |
| Дата | |
| Msg-id | CAFj8pRBErF0ysXMXPmQ58f5Uowed8bjSx+iWBW6bc+jiROYFeg@mail.gmail.com обсуждение исходный текст |
| Ответ на | [HACKERS] merging some features from plpgsql2 project (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: [HACKERS] merging some features from plpgsql2 project
Re: [HACKERS] merging some features from plpgsql2 project |
| Список | pgsql-hackers |
* EXECUTE and FOUND - this is incompatible change, extra check can be used (test on unset variable). I see solution in leaving FOUND variable and introduction of some new without this issue - ROW_COUNT maybe (this is another possible incompatible change, but with higher benefit - maybe we can introduce some aliasing, PRAGMA clause, default PRAGMAs, ..).
I checked current implementation of FOUND variable. If we introduce new auto variable ROW_COUNT - exactly like FOUND, then it doesn't introduce any compatibility break.
ROW_COUNT .. shortcut for GET DIAGNOSTICS row_count = ROW_COUNT.
Comments, notes?
Regards
Pavel
В списке pgsql-hackers по дате отправления: