Re: Visibility of a local variable
От | Tom Lane |
---|---|
Тема | Re: Visibility of a local variable |
Дата | |
Msg-id | 479909.1717520757@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Visibility of a local variable ("David G. Johnston" <david.g.johnston@gmail.com>) |
Ответы |
Re: Visibility of a local variable
|
Список | pgsql-bugs |
"David G. Johnston" <david.g.johnston@gmail.com> writes: > On Monday, June 3, 2024, Alejandro Burne <adburne@gmail.com> wrote: >> A local variable, created within a transaction, continues to persist >> (without value) after the transaction has ended. > This is under-documented but at present there is no plan to change this > long-standing behavior, just document it better. Keep in mind that this entire behavior (ie the ability to create GUCs not declared in the C code) is an undocumented abuse of the GUC system. We probably can't get rid of it at this late date, but we're very unlikely to make any incompatible changes in the behavior. regards, tom lane
В списке pgsql-bugs по дате отправления: