From 2af93640ad14028297fbc750e4c2338ad11a3c58 Mon Sep 17 00:00:00 2001
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Fri, 22 Aug 2014 13:45:38 +0300
Subject: [PATCH] Fix comment in pg_basebackup.

The option is called --tablespace-mapping, not --tablespace.

Amit Kapila
---
 src/bin/pg_basebackup/pg_basebackup.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 18820bd8d9f..8b9acea9f08 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -1260,9 +1260,9 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
 					/*
 					 * Symbolic link
 					 *
-					 * It's most likely a link in pg_tblspc directory, to
-					 * the location of a tablespace. Apply any tablespace
-					 * mapping given on the command line (--tablespace).
+					 * It's most likely a link in pg_tblspc directory, to the
+					 * location of a tablespace. Apply any tablespace mapping
+					 * given on the command line (--tablespace-mapping).
 					 * (We blindly apply the mapping without checking that
 					 * the link really is inside pg_tblspc. We don't expect
 					 * there to be other symlinks in a data directory, but
-- 
GitLab