aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_basebackup.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-02-09 14:43:53 +0900
committerMichael Paquier <michael@paquier.xyz>2023-02-09 14:43:53 +0900
commitef7002dbe0b06e4e5b42c89becd4eb9be2e9aa89 (patch)
tree97fae2104c30fd965b8a896561d6e10bda0502a6 /src/bin/pg_basebackup/pg_basebackup.c
parent30b789eafed2cbbc3de9c9025a30eefdffacb79c (diff)
downloadpostgresql-ef7002dbe0b06e4e5b42c89becd4eb9be2e9aa89.tar.gz
postgresql-ef7002dbe0b06e4e5b42c89becd4eb9be2e9aa89.zip
Fix various typos in code and tests
Most of these are recent, and the documentation portions are new as of v16 so there is no need for a backpatch. Author: Justin Pryzby Discussion: https://postgr.es/m/20230208155644.GM1653@telsasoft.com
Diffstat (limited to 'src/bin/pg_basebackup/pg_basebackup.c')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 1d3ef2c694e..948b859b569 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -2015,8 +2015,9 @@ BaseBackup(char *compression_algorithm, char *compression_detail,
* If we write the data out to a tar file, it will be named
* base.tar if it's the main data directory or <tablespaceoid>.tar
* if it's for another tablespace. CreateBackupStreamer() will
- * arrange to add .gz to the archive name if pg_basebackup is
- * performing compression.
+ * arrange to add an extension to the archive name if
+ * pg_basebackup is performing compression, depending on the
+ * compression type.
*/
if (PQgetisnull(res, i, 0))
{