pgsql: Fix per-tuple memory leak in partition tuple routing

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix per-tuple memory leak in partition tuple routing
Дата
Msg-id E1fkxsm-0001jS-2e@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix per-tuple memory leak in partition tuple routing

Some operations were being done in a longer-lived memory context,
causing intra-query leaks.  It's not noticeable unless you're doing a
large COPY, but if you are, it eats enough memory to cause a problem.

Co-authored-by: Kohei KaiGai <kaigai@heterodb.com>
Co-authored-by: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/CAOP8fzYtVFWZADq4c=KoTAqgDrHWfng+AnEPEZccyxqxPVbbWQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1c9bb02d8ec1d5b1b319e4fed70439a403c245b1

Modified Files
--------------
src/backend/executor/execPartition.c | 57 ++++++++++++++++++++++++++----------
1 file changed, 41 insertions(+), 16 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Use signals for postmaster death on Linux.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix unnoticed variable shadowing in previous commit