On Thu, 2002-03-28 at 01:47, Rudi Starcevic wrote:
> To create this database I'm trying to pass in the password from the script.
> For example :
>
> echo myPgPassword | /usr/local/pgslq/bin/createdb yourNewPgDatabase
Set the environment variable:
PGPASSWORD=myPgPassword /usr/local/pgslq/bin/createdb yourNewPgDatabase
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
"Thou wilt keep him in perfect peace, whose mind is stayed on thee; because he trusteth in thee."
Isaiah 26:3,4