diff options
| author | Magnus Hagander <magnus@hagander.net> | 2011-01-23 23:39:18 +0100 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2011-01-23 23:39:18 +0100 |
| commit | e5487f65fdbd05716ade642a3ae1c5c6e85b6f22 (patch) | |
| tree | 0d9bcc4b54c56feaf93c3a8068d86ce2a228e7fe /src/include/replication/basebackup.h | |
| parent | 39e911e28a7a998d9439c0f5886c97fbbfc72a75 (diff) | |
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.
Diffstat (limited to 'src/include/replication/basebackup.h')
| -rw-r--r-- | src/include/replication/basebackup.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h index 80f814b2e7c..af6a36621f2 100644 --- a/src/include/replication/basebackup.h +++ b/src/include/replication/basebackup.h @@ -12,6 +12,8 @@ #ifndef _BASEBACKUP_H #define _BASEBACKUP_H -extern void SendBaseBackup(const char *backup_label, bool progress, bool fastcheckpoint); +#include "replication/replnodes.h" + +extern void SendBaseBackup(BaseBackupCmd *cmd); #endif /* _BASEBACKUP_H */ |
