]> granicus.if.org Git - postgresql/commit
Refactor pg_receivexlog main loop code, for readability.
authorFujii Masao <fujii@postgresql.org>
Fri, 4 Jul 2014 03:00:48 +0000 (12:00 +0900)
committerFujii Masao <fujii@postgresql.org>
Fri, 4 Jul 2014 03:00:48 +0000 (12:00 +0900)
commit74cbe966fe2d76de1d607d933c98c144dab58769
tree3fefd0db861a254ab18d60751f626d798a4d56b1
parent644d85351e6aa364d31d6c5402e4fd6a3e94e91d
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.
src/bin/pg_basebackup/receivelog.c