pgsql: Further fix thinko in plpgsql memory leak fix.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Further fix thinko in plpgsql memory leak fix.
Дата
Msg-id E1ktvoW-000389-2y@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Further fix thinko in plpgsql memory leak fix.

There's a second call of get_eval_mcontext() that should also be
get_stmt_mcontext().  This is actually dead code, since no
interesting allocations happen before switching back to the
original context, but we should keep it in sync with the other
call to forestall possible future bugs.

Discussion: https://postgr.es/m/f075f7be-c654-9aa8-3ffc-e9214622f02a@enterprisedb.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/63d78d106d2f69768f9b4c66ff849d95a83205f7

Modified Files
--------------
src/pl/plpgsql/src/pl_exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix thinko in plpgsql memory leak fix.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Expose the default for channel_binding in PQconndefaults().