postgresql/src/backend
Amit Kapila 044aa9e70e 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
2021-01-12 08:19:39 +05:30
..
access Use vectored I/O to fill new WAL segments. 2021-01-11 15:28:31 +13:00
bootstrap Update copyright for 2021 2021-01-02 13:06:25 -05:00
catalog Report progress of COPY commands 2021-01-06 21:51:06 +01:00
commands Report progress of COPY commands 2021-01-06 21:51:06 +01:00
executor Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Update copyright for 2021 2021-01-02 13:06:25 -05:00
lib Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq Update copyright for 2021 2021-01-02 13:06:25 -05:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
optimizer Update copyright for 2021 2021-01-02 13:06:25 -05:00
parser Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
partitioning Update copyright for 2021 2021-01-02 13:06:25 -05:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Update copyright for 2021 2021-01-02 13:06:25 -05:00
postmaster Update copyright for 2021 2021-01-02 13:06:25 -05:00
regex Fix ancient bug in parsing of BRE-mode regular expressions. 2021-01-08 12:16:00 -05:00
replication Fix relation descriptor leak. 2021-01-12 08:19:39 +05:30
rewrite Update copyright for 2021 2021-01-02 13:06:25 -05:00
snowball Update copyright for 2021 2021-01-02 13:06:25 -05:00
statistics Update copyright for 2021 2021-01-02 13:06:25 -05:00
storage Optimize DropRelFileNodeBuffers() for recovery. 2021-01-12 07:45:40 +05:30
tcop Further second thoughts about idle_session_timeout patch. 2021-01-07 11:45:23 -05:00
tsearch Update copyright for 2021 2021-01-02 13:06:25 -05:00
utils Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT. 2021-01-11 14:53:42 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyright for 2021 2021-01-02 13:06:25 -05:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00