pgsql: Drop the temporary tuple slots allocated by pgoutput.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Drop the temporary tuple slots allocated by pgoutput.
Дата
Msg-id E1sMiTR-003CRW-12@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Drop the temporary tuple slots allocated by pgoutput.

In pgoutput, when converting the child table's tuple format to match the
parent table's, we temporarily create a new slot to store the converted
tuple. However, we missed to drop such temporary slots, leading to
resource leakage.

Reported-by: Bowen Shi
Author: Hou Zhijie
Reviewed-by: Amit Kapila
Backpatch-through: 15
Discussion: https://postgr.es/m/CAM_vCudv8dc3sjWiPkXx5F2b27UV7_YRKRbtSCcE-pv=cVACGA@mail.gmail.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b8f953d8d7bff6ca5d7fc8cb0f37a9d3d7a7462b

Modified Files
--------------
src/backend/replication/pgoutput/pgoutput.c | 10 ++++++++++
1 file changed, 10 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix overflow with pgstats DSA reference count
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Backport BackgroundPsql perl test module