Обсуждение: [MASSMAIL]pgsql: Use correct datatype for xmin variables in slot.c

Поиск
Список
Период
Сортировка

[MASSMAIL]pgsql: Use correct datatype for xmin variables in slot.c

От
Michael Paquier
Дата:
Use correct datatype for xmin variables in slot.c

Two variables storing a slot's effective_xmin and effective_catalog_xmin
were saved as XLogRecPtr, which is incorrect as these should be
TransactionIds.

Oversight in 818fefd8fd44.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACVPSB74mrDTFezz-LV3Oi6F3SN71QA0oUHvndzi5dwTNg@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/574c7c754666a2b5634efd700d3602629d261362

Modified Files
--------------
src/backend/replication/slot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)