]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use correct datatype for xmin variables in slot.c
authorMichael Paquier <michael@paquier.xyz>
Thu, 11 Apr 2024 08:19:35 +0000 (17:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 11 Apr 2024 08:19:35 +0000 (17:19 +0900)
commit574c7c754666a2b5634efd700d3602629d261362
tree0bf0fd8b675a918c2f5f622a870c6380df179d64
parent48f216dc634bcda522c92de7de61036fdc26847f
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
src/backend/replication/slot.c