>
>
> Hi,
>
> and see:
>
> $ pg_dump --help
> /usr/lib/postgresql/bin/pg_dump: invalid option -- -
>
> hmm ?
>
> Prepare anyone long options for pg_dump, pg_passwd, pg_version ?
> If not, I make it, current state is disgraceful.
>
#$ pg_dump -h
pg_dump: option requires an argument -- h
usage: pg_dump [options] dbname -a dump out only the data, no schema -c
clean(drop) schema prior to create -d dump data as proper insert strings -D
dump data as inserts with attribute names -f filename script output filename
-h hostname server host name -n suppress most quotes around identifiers
-N enable most quotes around identifiers -o dump object id's (oids)
-p port server port number -s dump out only the schema, no data -t
table dump for this table only -u use password authentication -v
verbose -x do not dump ACL's (grant/revoke)
If dbname is not supplied, then the DATABASE environment variable value
is used.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026