Refactor pg_receivexlog main loop code, for readability, take 2.

Fujii Masao <fujii@postgresql.org>

Commit: 6805e02c66eac3857ef1a3d6cfd1ffeea64d9447
Author: Fujii Masao <fujii@postgresql.org>
Date: 2014-08-06T11:58:13Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/bin/pg_basebackup/receivelog.c modified +245 −187