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

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor pg_receivexlog main loop code, for readability, take 2.
Date: 2014-08-06 12:16:04
Message-ID: E1XF08S-0004dg-O1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6805e02c66eac3857ef1a3d6cfd1ffeea64d9447

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c | 432 ++++++++++++++++++++----------------
1 file changed, 245 insertions(+), 187 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-08-06 15:34:53 pgsql: Fix alternate regression test output file.
Previous Message Fujii Masao 2014-08-06 06:08:20 pgsql: Change ParseConfigFp() so that it doesn't process unused entry o