Feature request - pg_dump - -W specify pwd in command line

Поиск
Список
Период
Сортировка
От Carl Holliday
Тема Feature request - pg_dump - -W specify pwd in command line
Дата
Msg-id JAEBKLOCGKENFCOPBMNNOECMCJAA.skysnake@wonderland.co.za
обсуждение исходный текст
Ответы Re: Feature request - pg_dump - -W specify pwd in command line  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Afternoon

the 8.4 pg_dump seems to work fine and as documented.

I need to be able to put pwds in the command line to facilitate
non-supervised backups etc

I tried the following command line but, understandably, it refuses to
cooperate:


pg_dump.exe -h localhost -p 5432 -U postgres -W tstpwd1 -t TRAN -t CLIENT -t
?CAS -F custom -b -Z 9 -f "C:\data\fidTcarl.sqlnative" fid2



-W tstpwd1

-W forces a password prompt, if I insert my 'test password' into the
commandline instruction, it just terminates with a

pg_dump: too many command-line arguments (first is "-t") blah



is there another way to insert the pwd into the command line interface,
please?

Carl

Carl Holliday
t 012 342 3096
skysnake@wonderland.co.za

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5673: Optimizer creates strange execution plan leading to wrong results
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5673: Optimizer creates strange execution plan leading to wrong results