Refactor replication connection code of various pg_basebackup utilities.
authorAndres Freund <andres@anarazel.de>
Wed, 1 Oct 2014 15:22:21 +0000 (17:22 +0200)
committerAndres Freund <andres@anarazel.de>
Wed, 1 Oct 2014 15:35:56 +0000 (17:35 +0200)
commit0c013e08cfbebd35ec982c4df15d44b521094d52
tree448ef218b547b1eb65a55bd2b2760b39ef7014d5
parentfdf81c9a6cf94921084e52c8d2ff903bae362620
Refactor replication connection code of various pg_basebackup utilities.

Move some more code to manage replication connection command to
streamutil.c. A later patch will introduce replication slot via
pg_receivexlog and this avoid duplicating relevant code between
pg_receivexlog and pg_recvlogical.

Author: Michael Paquier, with some editing by me.
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/pg_recvlogical.c
src/bin/pg_basebackup/streamutil.c
src/bin/pg_basebackup/streamutil.h