]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use correct type for catalog_xmin
authorFujii Masao <fujii@postgresql.org>
Mon, 8 Jun 2026 23:18:41 +0000 (08:18 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 8 Jun 2026 23:19:15 +0000 (08:19 +0900)
commit9db452c2355092ce28fb5b62b9541779ff7fe601
treee2e356aa71c70be1a783e2afa84a9fe8f96a06d1
parent1d76927469d35f8dd6d90509618fda3e6bc3b7d6
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 <imran.zhir@gmail.com>
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CA+UBfa=mNeLt-4BFjEP4tqdDsnq+oMqqPr7fd9Wji2_9YXmQdA@mail.gmail.com
src/backend/replication/logical/slotsync.c