seemless password

From: "Michael Gaitsgory" <mgaitsgory(at)CROSSBEAMSYS(dot)COM>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: seemless password
Date: 2005-04-14 16:12:46
Message-ID: 6FF58CD33A029D458692432F07B85AB702CBA688@newmail.crossbeamsys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Browse pgsql-admin by date

  From Date Subject
Next Message sanjay tumula 2005-04-14 16:58:12 performance problem
Previous Message Devrim GUNDUZ 2005-04-14 15:43:22 Re: Help installing 8.0.2 rpms on RH 3.0