Inigo Barandiaran wrote:
> Hi.
>
> I would like to create an script that includes calls to createdb.exe and
> psql.exe. I would like to use them with a user but without asking or
> prompting for pasword. For example:
> createdb.exe -T template0 -U MyPosgresUser MyDataBaseName.
http://www.postgresql.org/docs/current/static/libpq-pgpass.html
--
Richard Huxton
Archonet Ltd