From: Michael Gaitsgory <mgaitsgory@CROSSBEAMSYS.COM>
To: pgsql-admin@postgresql.org
Subject: seemless password
Date: Thu, 14 Apr 2005 12:12:46 -0400
Message-ID: <6FF58CD33A029D458692432F07B85AB702CBA688@newmail.crossbeamsys.com> (raw)
Hello,
I'm having a bit of a problem. I'm creating a windows installation script that involves initializing postrgres db (creating new db and schema).
For task I need to run "psql" command and pass some sql files to it. I can ask the installer for the postgres admin user and password, but it seems like
there is no wat to pass in the password with "-U" option to postgres so that the installer would not have to type it again on the command prompt.
ANY ideas on that?
Thanks Michael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mgaitsgory@CROSSBEAMSYS.COM
Subject: Re: seemless password
In-Reply-To: <6FF58CD33A029D458692432F07B85AB702CBA688@newmail.crossbeamsys.com>
References: <6FF58CD33A029D458692432F07B85AB702CBA688@newmail.crossbeamsys.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox