pgsql: Refactor pg_receivexlog main loop code, for readability.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Refactor pg_receivexlog main loop code, for readability.
Дата
Msg-id E1X2u1J-0006mJ-Dm@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor pg_receivexlog main loop code, for readability.

Previously the source codes for receiving the data and for
polling the socket were included in pg_receivexlog main loop.
This commit splits out them as separate functions. This is
useful for improving the readability of main loop code and
making the future pg_receivexlog-related patch simpler.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/74cbe966fe2d76de1d607d933c98c144dab58769

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c |  209 ++++++++++++++++++++++++------------
1 file changed, 142 insertions(+), 67 deletions(-)


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Split out the description of page-level lock as new subsection i
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Fix double-free bug of WAL streaming buffer in pg_receivexlog.