Stop reading uninitialized memory in heap_inplace_lock().
Stop computing a never-used value. This removes the read; the read had
no functional implications. Back-patch to v12, like commit
a07e03fd8fa7daf4d1356f7cb501ffe784ea6257.
Reported by Alexander Lakhin.
Discussion: https://postgr.es/m/6c92f59b-f5bc-e58c-9bdd-d1f21c17c786@gmail.com
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/a0c0078b13552e89d9a8667bbe32f1748be1f160
Modified Files
--------------
src/backend/access/heap/heapam.c | 3 +--
.../isolation/expected/intra-grant-inplace.out | 24 ++++++++++++++++++++++
src/test/isolation/specs/intra-grant-inplace.spec | 8 ++++++++
3 files changed, 33 insertions(+), 2 deletions(-)
Есть вопросы? Напишите нам!
✖
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.