pgsql: Use correct type for catalog_xmin

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

pgsql: Use correct type for catalog_xmin

От:
Fujii Masao <fujii@postgresql.org>
Дата:
Use correct type for catalog_xmin

Commit 85c17f6 mistakenly declared a variable storing catalog_xmin as
XLogRecPtr, even though catalog_xmin is a TransactionId.

This caused no functional issue, but the type was clearly incorrect.
Therefore, this commit fixes it to use the correct type TransactionId
instead, and backpatch to v17 where the issue was introduced.

Author: Imran Zaheer 
Reviewed-by: Ashutosh Bapat 
Reviewed-by: Fujii Masao 
Discussion: https://postgr.es/m/CA+UBfa=mNeLt-4BFjEP4tqdDsnq+oMqqPr7fd9Wji2_9YXmQdA@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/replication/logical/slotsync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

FAQ