Make walsender options order-independent
Magnus Hagander <magnus@hagander.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/basebackup.c | modified | +72 −11 |
| src/backend/replication/repl_gram.y | modified | +27 −18 |
| src/backend/replication/walsender.c | modified | +6 −10 |
| src/include/replication/basebackup.h | modified | +3 −1 |
| src/include/replication/replnodes.h | modified | +1 −3 |