pgsql: Code cleanup in SyncRepWaitForLSN()

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Code cleanup in SyncRepWaitForLSN()
Дата
Msg-id E1bYAz1-0005vn-FT@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Code cleanup in SyncRepWaitForLSN()

Commit 14e8803f1 removed LWLocks when accessing MyProc->syncRepState
but didn't clean up the surrounding code and comments.

Cleanup and backpatch to 9.5, to keep code similar.

Julien Rouhaud, improved by suggestion from Michael Paquier,
implemented trivially by myself.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4fc8e2315da3ee67538f55ce0c6aee3eee07e026

Modified Files
--------------
src/backend/replication/syncrep.c | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Code cleanup in SyncRepWaitForLSN()
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix inappropriate printing of never-measured times in EXPLAIN.