Re: [HACKERS] pg_dump --help

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] pg_dump --help
Date: 1999-12-16 01:25:07
Message-ID: 199912160125.UAA11353@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-12-16 01:29:10 Re: [BUGS] uniqueness not always correct
Previous Message Bruce Momjian 1999-12-16 01:17:44 Re: [HACKERS] dumpall prob