pgsql: Make walsender options order-independent

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make walsender options order-independent
Date: 2011-01-23 22:41:06
Message-ID: E1Ph8cM-0001dn-NO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make walsender options order-independent

While doing this, also move base backup options into
a struct instead of increasing the number of parameters
to multiple functions for each new option.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e5487f65fdbd05716ade642a3ae1c5c6e85b6f22

Modified Files
--------------
src/backend/replication/basebackup.c | 83 +++++++++++++++++++++++++++++-----
src/backend/replication/repl_gram.y | 45 +++++++++++-------
src/backend/replication/walsender.c | 16 +++----
src/include/replication/basebackup.h | 4 +-
src/include/replication/replnodes.h | 4 +-
5 files changed, 109 insertions(+), 43 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-01-24 01:48:38 pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Previous Message Magnus Hagander 2011-01-23 21:44:21 pgsql: Reorder includes to unbreak MSVC