pgsql: Fix use-after-release mistake in currtid() and currtid2() for vi

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix use-after-release mistake in currtid() and currtid2() for vi
Дата
Msg-id [email protected]
обсуждение исходный текст
Список pgsql-committers
Fix use-after-release mistake in currtid() and currtid2() for views

This issue has been present since the introduction of this code as of
a3519a2 from 2002, and has been found by buildfarm member prion that
uses RELCACHE_FORCE_RELEASE via the tests introduced recently in
e786be5.

Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 9.5

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/tid.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)


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