Parse pg_basebackup option --waldir/--xlogdir

This commit is contained in:
Ian Barwick
2020-10-06 18:00:11 +09:00
parent 679cfe0852
commit b3b9281253
3 changed files with 31 additions and 8 deletions

View File

@@ -262,10 +262,11 @@ typedef struct
{
char slot[MAXLEN];
char wal_method[MAXLEN];
char waldir[MAXPGPATH];
bool no_slot; /* from PostgreSQL 10 */
} t_basebackup_options;
#define T_BASEBACKUP_OPTIONS_INITIALIZER { "", "", false }
#define T_BASEBACKUP_OPTIONS_INITIALIZER { "", "", "", false }
typedef enum