]> granicus.if.org Git - postgresql/commitdiff
initdb: Improve some messages
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 25 Apr 2013 02:50:33 +0000 (22:50 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 25 Apr 2013 02:50:33 +0000 (22:50 -0400)
src/bin/initdb/initdb.c

index bb38796eb28b6ade2f74cf20556a8f69be901bcd..f9b3492ef3194c7a12214f145e8f678046618d9e 100644 (file)
@@ -2751,7 +2751,7 @@ usage(const char *progname)
        printf(_("  -X, --xlogdir=XLOGDIR     location for the transaction log directory\n"));
        printf(_("\nLess commonly used options:\n"));
        printf(_("  -d, --debug               generate lots of debugging output\n"));
-       printf(_("  -k, --data-checksums      data page checksums\n"));
+       printf(_("  -k, --data-checksums      use data page checksums\n"));
        printf(_("  -L DIRECTORY              where to find the input files\n"));
        printf(_("  -n, --noclean             do not clean up after errors\n"));
        printf(_("  -N, --nosync              do not wait for changes to be written safely to disk\n"));
@@ -3320,7 +3320,8 @@ warn_on_mount_point(int error)
                                _("It contains a lost+found directory, perhaps due to it being a mount point.\n"));
 
        fprintf(stderr,
-                       _("Using the top-level directory of a mount point is not recommended.\n"));
+                       _("Using a mount point directly as the data directory is not recommended.\n"
+                         "Create a subdirectory under the mount point.\n"));
 }