Re: specifying a password on the cmd line for db connect
В списке pgsql-general по дате отправления:
| От | Raymond O'Donnell |
|---|---|
| Тема | Re: specifying a password on the cmd line for db connect |
| Дата | |
| Msg-id | 4B01DAD6.4030105@iol.ie обсуждение исходный текст |
| Ответ на | specifying a password on the cmd line for db connect ("Gauthier, Dave" <dave.gauthier@intel.com>) |
| Ответы |
Re: specifying a password on the cmd line for db connect
|
| Список | pgsql-general |
On 16/11/2009 22:51, Gauthier, Dave wrote: > Hi: > > Is there a way to require and specify a password at the cmd line for a connect? At first glance... > > --username foo --password fee > > would seem to be what I want. But it just prompts me for a password (after interpreting "fee" as the DB name). Hi there, There are no options such as these....what you do instead is use a pgpass file: http://www.postgresql.org/docs/8.4/static/libpq-pgpass.html Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера