Re: psql and password - Mailing list pgsql-sql

From Oliver Elphick
Subject Re: psql and password
Date
Msg-id 1017299482.21473.331.camel@linda
Whole thread Raw
In response to psql and password  (Rudi Starcevic <rudi@oasis.net.au>)
List 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.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   

pgsql-sql by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: create view problem
Next
From: DI Hasenöhrl
Date:
Subject: Left outer join with WHERE clause?