Content-Length: 259245 | pFad | http://github.com/postgrespro/postgres/commit/7fd1ae987a5dc6d0b28dcc1dcd01f455049d9782

87 Use proper macro to access TransactionId · postgrespro/postgres@7fd1ae9 · GitHub
Skip to content

Commit 7fd1ae9

Browse files
committed
Use proper macro to access TransactionId
In commit f10a025 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 <houzj.fnst@fujitsu.com> Discussion: https://postgr.es/m/OS0PR01MB5716E2399494D4CB1A28A091942A9@OS0PR01MB5716.jpnprd01.prod.outlook.com
1 parent 16b1fe0 commit 7fd1ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/nodes/list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ list_member_xid(const List *list, TransactionId datum)
747747

748748
foreach(cell, list)
749749
{
750-
if (lfirst_oid(cell) == datum)
750+
if (lfirst_xid(cell) == datum)
751751
return true;
752752
}
753753

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7fd1ae987a5dc6d0b28dcc1dcd01f455049d9782

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy