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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема [COMMITTERS] pgsql: Copy information from the relcache instead of pointing to it.
Дата
Msg-id E1e0YN8-0003WY-RY@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Fix intra-query memory leakage in nodeProjectSet.c.
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Fix crash when logical decoding is invoked from a PL function.