aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/basebackup.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-08 13:15:09 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-08 13:15:09 +0900
commit6b8548964bccd0f2e65c687d591b7345d5146bfa (patch)
tree29cddb4e0aa0bc59b02850daf6f508394f8f0ec1 /src/backend/replication/basebackup.c
parent7e9a4c5c3dca0d9637812d8991e96fc8f46800d9 (diff)
downloadpostgresql-6b8548964bccd0f2e65c687d591b7345d5146bfa.tar.gz
postgresql-6b8548964bccd0f2e65c687d591b7345d5146bfa.zip
Fix inconsistencies in the code
This addresses a couple of issues in the code: - Typos and inconsistencies in comments and function declarations. - Removal of unreferenced function declarations. - Removal of unnecessary compile flags. - A cleanup error in regressplans.sh. Author: Alexander Lakhin Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com
Diffstat (limited to 'src/backend/replication/basebackup.c')
-rw-r--r--src/backend/replication/basebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c
index 7a1b38466b8..57f17e14181 100644
--- a/src/backend/replication/basebackup.c
+++ b/src/backend/replication/basebackup.c
@@ -1074,7 +1074,7 @@ sendDir(const char *path, int basepathlen, bool sizeonly, List *tablespaces,
* error in that case. The error handler further up will call
* do_pg_abort_backup() for us. Also check that if the backup was
* started while still in recovery, the server wasn't promoted.
- * dp_pg_stop_backup() will check that too, but it's better to stop
+ * do_pg_stop_backup() will check that too, but it's better to stop
* the backup early than continue to the end and fail there.
*/
CHECK_FOR_INTERRUPTS();