search for: pg_passwd

Displaying 1 result from an estimated 1 matches for "pg_passwd".

Did you mean: db_passwd
2007 Oct 30
4
Postgresql and shell script
...t -U$PG_user -W -f postgresql.sql " postgres </snip> when the script executes those command, it ask for a password, how could I do this without have to enter the passwd, I would like that it reads the password from a variabel, that excists in a separate file, like <variable file> PG_passwd=secret PG_user =username PG_database=simple </variable file> Tronn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071030/adab1ffc/attachment-0004.html>