Re: Embedding postgresql in my application

Поиск
Список
Период
Сортировка
От Murray Cumming
Тема Re: Embedding postgresql in my application
Дата
Msg-id 1166604477.5754.2.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Embedding postgresql in my application  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-interfaces
On Tue, 2006-12-19 at 12:46 -0300, Alvaro Herrera wrote:
> Murray Cumming wrote:
> > createuser asks for a password on stdin. Do you know of any way to
> > specifify an initial superuser and password for a new database cluster
> > without doing it via stdin? That doesn't seem like a stable API that I
> > should rely on.
> 
> Sure, initdb accepts the -U parameter to specify the user and you can
> put the password in a temp file and give it to initdb with --pwfile.

Thanks. That works well.

-- 
Murray Cumming
murrayc@murrayc.com
www.murrayc.com
www.openismus.com



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Embedding postgresql in my application
Следующее
От: "Jon Earle"
Дата:
Сообщение: Re: Embedding postgresql in my application