Re: [HACKERS] pg_dump --help

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] pg_dump --help
Дата
Msg-id 199912161631.LAA05695@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_dump --help  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
Список pgsql-hackers
> > #$ 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
> 
>  --cut--
> 
> $ mysqldump --help
> mysqldump  Ver 4.0 Distrib 3.21.31, for pc-linux-gnu (i586)
> By Igor Romanenko & Monty & Jani. This software is in public Domain
> This software comes with ABSOLUTELY NO WARRANTY
> 
> Dumping definition and data mysql database or table
> Usage: mysqldump [OPTIONS] database [tables]
> 
>   -#, --debug=...       Output debug log. Often this is 'd:t:o,filename
>   -?, --help            Displays this help and exits.
>   -c, --compleat-insert Use complete insert statements.
> 
> .....etc.
> 
> I send patch with long options next week.....
> 

It must be portable.  See src/bin/psql/startup.c for an example of a
portable solution.


--  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
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jose Soares
Дата:
Сообщение: \copy problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Finding corrupt data