Re: Embedding postgresql in my application

From: Murray Cumming <murrayc(at)murrayc(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>, pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Embedding postgresql in my application
Date: 2006-12-20 08:47:57
Message-ID: 1166604477.5754.2.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)murrayc(dot)com
www.murrayc.com
www.openismus.com

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jon Earle 2006-12-20 13:35:17 Re: Embedding postgresql in my application
Previous Message Carlo Stonebanks 2006-12-19 18:06:48 ODBC: how to change search_path in DSN?