From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Rudi Starcevic <rudi(at)oasis(dot)net(dot)au> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: psql and password |
Date: | 2002-03-28 07:11:22 |
Message-ID: | 1017299482.21473.331.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(dot)Elphick(at)lfix(dot)co(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | DI Hasenöhrl | 2002-03-28 12:58:36 | Left outer join with WHERE clause? |
Previous Message | Christopher Kings-Lynne | 2002-03-28 07:04:41 | Re: create view problem |