]> granicus.if.org Git - postgresql/commitdiff
Fix comment in pg_basebackup.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 22 Aug 2014 10:45:38 +0000 (13:45 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 22 Aug 2014 10:45:38 +0000 (13:45 +0300)
The option is called --tablespace-mapping, not --tablespace.

Amit Kapila

src/bin/pg_basebackup/pg_basebackup.c

index 18820bd8d9f8d559416323aa24eff2fbb8be9051..8b9acea9f087516df589223fab4e351e4f12f354 100644 (file)
@@ -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