initdb initial password - Mailing list pgsql-hackers

From Magnus Hagander
Subject initdb initial password
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BC8B@algol.sollentuna.se
Whole thread Raw
Responses Re: initdb initial password
List pgsql-hackers
I would like to add capability to initdb to accept the password for the
superuser account at invocation. Right now, I can use --pwprompt or -W
to have it ask for a password. But for the win32 GUI installed I'd like
to ask for the password in the installer, and pass it to initdb.

Considering how it's done in different places, what's the preferred way
to do this? Commandline parameter? Environment variable? Other (what
would that be?)


//Magnus



pgsql-hackers by date:

Previous
From: Dennis Bjorklund
Date:
Subject: Re: #postgresql report
Next
From: Tom Lane
Date:
Subject: Re: initdb initial password