projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b1fe0
)
Use proper macro to access TransactionId
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Thu, 20 Oct 2022 07:37:06 +0000
(09:37 +0200)
committer
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Thu, 20 Oct 2022 07:41:03 +0000
(09:41 +0200)
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 <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/OS0PR01MB5716E2399494D4CB1A28A091942A9@OS0PR01MB5716.jpnprd01.prod.outlook.com
src/backend/nodes/list.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/nodes/list.c
b/src/backend/nodes/list.c
index b969a52dd6775b9e4626dbefa95d83b62a190290..67f6e6d002c12ef2c5c90a00d9143486630def4d 100644
(file)
--- 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_
o
id(cell) == datum)
+ if (lfirst_
x
id(cell) == datum)
return true;
}