| From: | Amit Kapila <akapila(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix relation descriptor leak. |
| Date: | 2021-01-12 03:08:53 |
| Message-ID: | E1kzA3B-00013Z-BW@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix relation descriptor leak.
We missed closing the relation descriptor while sending changes via the
root of partitioned relations during logical replication.
Author: Amit Langote and Mark Zhao
Reviewed-by: Amit Kapila and Ashutosh Bapat
Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/tencent_41FEA657C206F19AB4F406BE9252A0F69C06@qq.com
Discussion: https://postgr.es/m/tencent_6E296D2F7D70AFC90D83353B69187C3AA507@qq.com
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/decf3fe61ca2b707e8ac7ef996b16ace8df1d165
Modified Files
--------------
src/backend/replication/pgoutput/pgoutput.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2021-01-12 14:49:44 | pgsql: Fix thinko in comment |
| Previous Message | Amit Kapila | 2021-01-12 02:26:02 | pgsql: Optimize DropRelFileNodeBuffers() for recovery. |