Create database without entering password at command line

Поиск
Список
Период
Сортировка
От Nathan Thatcher
Тема Create database without entering password at command line
Дата
Msg-id d9c17fb40805191723w127e5ef6y60ffe83ce2e5f786@mail.gmail.com
обсуждение исходный текст
Ответы Re: Create database without entering password at command line
Список pgsql-general
I am trying to automatically create a database right after installing
postgres. I launch the silent install (Windows) from my own executable
and once it is done I need to create a database, tables, etc. I am
trying to find a way to do this without having to explicitly enter the
password in at the command prompt. What is the best way to do this?

Thanks,
Nate

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

Предыдущее
От: Dragan Zubac
Дата:
Сообщение: Re: Vacuuming on heavily changed databases
Следующее
От: "Dan Joo"
Дата:
Сообщение: psql: FATAL: Ident authentication failed for user "postgres"