]> granicus.if.org Git - postgresql/commit
Refactor pg_receivexlog main loop code, for readability, take 2.
authorFujii Masao <fujii@postgresql.org>
Wed, 6 Aug 2014 11:58:13 +0000 (20:58 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 6 Aug 2014 11:58:13 +0000 (20:58 +0900)
commit6805e02c66eac3857ef1a3d6cfd1ffeea64d9447
tree3e2770cc0ec95932f696856dfe7798dbed2fc9e8
parente3da0d4d1a47e2049ae16aa30bb7bf3105dc8c45
Refactor pg_receivexlog main loop code, for readability, take 2.

Previously the source codes for processing the received data and handling
the end of stream 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