diff options
author | Magnus Hagander <magnus@hagander.net> | 2011-01-14 16:30:33 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2011-01-14 16:30:33 +0100 |
commit | fcd810c69adf11b6ec1cff35359be0dd27662eff (patch) | |
tree | b4edb043afe37dc221b765572aa90dafafefcfc7 /src/include/replication/basebackup.h | |
parent | 688423d004f4092aed73c73a3281c281d476436d (diff) | |
download | postgresql-fcd810c69adf11b6ec1cff35359be0dd27662eff.tar.gz |
Use a lexer and grammar for parsing walsender commands
Makes it easier to parse mainly the BASE_BACKUP command
with it's options, and avoids having to manually deal
with quoted identifiers in the label (previously broken),
and makes it easier to add new commands and options in
the future.
In passing, refactor the case statement in the walsender
to put each command in it's own function.
Diffstat (limited to 'src/include/replication/basebackup.h')
-rw-r--r-- | src/include/replication/basebackup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h index 61e531543c..eb2e160176 100644 --- a/src/include/replication/basebackup.h +++ b/src/include/replication/basebackup.h @@ -12,6 +12,6 @@ #ifndef _BASEBACKUP_H #define _BASEBACKUP_H -extern void SendBaseBackup(const char *options); +extern void SendBaseBackup(const char *backup_label, bool progress); #endif /* _BASEBACKUP_H */ |