Commit e722846
committed
Improve BackendXidGetPid() to only access allProcs on matching XID
Compilers are able to optimize that, but it makes the code slightly more
readable this way.
Author: Zhao Junwang
Reviewed-by: Ashutosh Bapat
Discussion: https://postgr.es/m/CAEG8a3+i9gtqF65B+g_puVaCQuf0rZC-EMqMyEjGFJYOqUUWfA@mail.gmail.com1 parent 8438a3f commit e722846
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