forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite722846
committed
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 parent8438a3f commite722846
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
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)