From: | Harald Armin Massa <ghum(at)gmx(dot)net> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | pg_restore - added documentation |
Date: | 2004-10-04 16:23:50 |
Message-ID: | 41617916.7020702@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
I suggest to alter the
pg_restore --help output from
-----------------------------------------
Usage:
pg_restore [OPTION]... [FILE]
General options:
-d, --dbname=NAME output database name
-f, --file=FILENAME output file name
-----------------------------------------------
to:
----------------------------------------------
Usage:
pg_restore [OPTION]... [FILE]
General options:
-d, --dbname=NAME output database name (to restore into a psql
database)
-f, --file=FILENAME output file name (to convert custom/tar to
plain SQL)
-F, --format=c|t specify backup file format (custom or tar,
plain text is not possible) ----------------------------------------------
Reasons:
a) pg_restore may sometimes be used in a "stressed state of mind" where
additional information is essential
b) within win32 there is no man pg_restore possible
c) Not me allown did need some time to understand WHY an "output file
name" makes sense for a resore-utility.
Please find the patch in the upcomming.
Harald
----------------------------------------------
363,365c363,365
< printf(_(" -d, --dbname=NAME output database name\n"));
< printf(_(" -f, --file=FILENAME output file name\n"));
< printf(_(" -F, --format=c|t specify backup file format\n"));
---
> printf(_(" -d, --dbname=NAME output database name (to
restore into a psql database) \n"));
> printf(_(" -f, --file=FILENAME output file name (to convert
custom/tar to plain SQL)\n"));
> printf(_(" -F, --format=c|t specify backup file format
(only custom and tar are allowed, not plain SQL)\n"));
--------------------------------------------------
Attachment | Content-Type | Size |
---|---|---|
ghum.vcf | text/x-vcard | 366 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2004-10-04 23:40:05 | Re: license cleanup |
Previous Message | Dave Page | 2004-10-04 15:24:06 | Static build of libpq fails |