Home > Archive > PostgreSQL Administration > April 2005 > seemless password









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author seemless password
Michael Gaitsgory

2005-04-18, 11:23 am

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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com