"Magnus Hagander" <mha@sollentuna.net> writes:
>> This isn't happening for a number of reasons, the most
>> obvious being that we cannot require initdb to be run
>> interactively. (That stern warning will not impress /dev/null.)
> This is the very reason --pwfile was added.
No, that does not address the objection in the least. That simply
allows a level of indirection. There still has to be user interaction
going on somewhere to supply the password.
regards, tom lane