pgsql: Improve commentary in timeout.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve commentary in timeout.c.
Дата
Msg-id E1kxLfv-0005CH-Pq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve commentary in timeout.c.

On re-reading I realized that I'd missed one race condition in the new
timeout code.  It's safe, but add a comment explaining it.

Discussion: https://postgr.es/m/CA+hUKG+o6pbuHBJSGnud=TadsuXySWA7CCcPgCt2QE9F6_4iHQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9486e7b666fd113f043d5f091fd42bc1ef72acd8

Modified Files
--------------
src/backend/utils/misc/timeout.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix allocation logic of cryptohash context data with OpenSSL
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: doc: Remove reference to recovery params for divergence lookup i