diff options
author | Alvaro Herrera | 2022-10-20 07:37:06 +0000 |
---|---|---|
committer | Alvaro Herrera | 2022-10-20 07:41:03 +0000 |
commit | 7fd1ae987a5dc6d0b28dcc1dcd01f455049d9782 (patch) | |
tree | 8061507dae41d88c910206a86ad5312784c2f5fa | |
parent | 16b1fe0037dc5a23dc7e2eb2ab62949800797b91 (diff) |
Use proper macro to access TransactionId
In commit f10a025cfe97 I mistakenly used list_member_oid in a place
where list_member_xid is called for. (Currently innocuous as both
typedefs are pretty much identical, but if we change either, it'll
become broken.) Repair.
Author: Hou Zhijie <[email protected]>
Discussion: https://postgr.es/m/OS0PR01MB5716E2399494D4CB1A28A091942A9@OS0PR01MB5716.jpnprd01.prod.outlook.com
-rw-r--r-- | src/backend/nodes/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/nodes/list.c b/src/backend/nodes/list.c index b969a52dd67..67f6e6d002c 100644 --- a/src/backend/nodes/list.c +++ b/src/backend/nodes/list.c @@ -747,7 +747,7 @@ list_member_xid(const List *list, TransactionId datum) foreach(cell, list) { - if (lfirst_oid(cell) == datum) + if (lfirst_xid(cell) == datum) return true; } |