pgsql: Improve BackendXidGetPid() to only access allProcs on matching X

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Improve BackendXidGetPid() to only access allProcs on matching X
Дата
Msg-id E1qePvh-002ss4-Cn@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e722846daf4a37797ee39bc8ca3e78a4ef437f51

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: change "cross product" to "Cartesian product"
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Remove some more "snapshot too old" vestiges.