]> 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:47:17 +0000 (13:47 +0300)
The option is called --tablespace-mapping, not --tablespace.

Amit Kapila

src/bin/pg_basebackup/pg_basebackup.c

index ec22ac2354a43c7c51e21e40f96aaf69d3cd93e7..0a336143466b77d2b0bf62f9c437277acfe2526d 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