[COMMITTERS] pgsql: Copy information from the relcache instead of pointing to it. - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Copy information from the relcache instead of pointing to it.
Date
Msg-id E1e0YN8-0003WY-RY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Copy information from the relcache instead of pointing to it.

We have the relations continuously locked, but not open, so relcache
pointers are not guaranteed to be stable.  Per buildfarm member
prion.

Ashutosh Bapat.  I fixed a typo.

Discussion: http://postgr.es/m/CAFjFpRcRBqoKLZSNmRsjKr81uEP=ennvqSQaXVCCBTXvJ2rW+Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/45866c75507f0757de0da6e90c694a0dbe67d727

Modified Files
--------------
src/backend/catalog/partition.c      | 68 ++++++++++++++++++++++++++++++++++++
src/backend/optimizer/util/plancat.c | 35 ++++++++++++++-----
src/include/catalog/partition.h      |  2 ++
3 files changed, 96 insertions(+), 9 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix intra-query memory leakage in nodeProjectSet.c.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix crash when logical decoding is invoked from a PL function.