forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6712f6b
Improve BackendXidGetPid() to only access allProcs on matching XID
Compilers are able to optimize that, but it makes the code slightly morereadable this way.Author: Zhao JunwangReviewed-by: Ashutosh BapatDiscussion:https://postgr.es/m/CAEG8a3+i9gtqF65B+g_puVaCQuf0rZC-EMqMyEjGFJYOqUUWfA@mail.gmail.com1 parent8f10b8c commit6712f6b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3174 | 3174 | | |
3175 | 3175 | | |
3176 | 3176 | | |
3177 | | - | |
3178 | | - | |
3179 | | - | |
3180 | 3177 | | |
3181 | 3178 | | |
| 3179 | + | |
| 3180 | + | |
| 3181 | + | |
3182 | 3182 | | |
3183 | 3183 | | |
3184 | 3184 | | |
| |||
0 commit comments
Comments
(0)