Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by postgresql.org (Postfix) with ESMTP id A5032475892 for ; Thu, 28 Mar 2002 02:11:23 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 16qU4A-000Nyu-0U; Thu, 28 Mar 2002 07:11:23 +0000 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 16qU4A-0006t1-00; Thu, 28 Mar 2002 07:11:23 +0000 Subject: Re: psql and password From: Oliver Elphick To: Rudi Starcevic Cc: pgsql-sql@postgresql.org In-Reply-To: <3CA27648.7060307@oasis.net.au> References: <3CA27648.7060307@oasis.net.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-c5O1HHcMSXbzno6lacyd" X-Mailer: Evolution/1.0.2 Date: 28 Mar 2002 07:11:22 +0000 Message-Id: <1017299482.21473.331.camel@linda> Mime-Version: 1.0 X-Archive-Number: 200203/374 X-Sequence-Number: 7248 --=-c5O1HHcMSXbzno6lacyd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 scrip= t. > For example : >=20 > echo myPgPassword | /usr/local/pgslq/bin/createdb yourNewPgDatabase Set the environment variable: PGPASSWORD=3DmyPgPassword /usr/local/pgslq/bin/createdb yourNewPgDatabase --=20 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=20=20 stayed on thee; because he trusteth in thee."=20=20 Isaiah 26:3,4=20=20 --=-c5O1HHcMSXbzno6lacyd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8osIaYU1MND4dDBwRAjR0AJ9hKNprN1mmaNIJIPuKP9caeohdTQCeLROs 5eA8unejsDh/ktVLYgc0Vi8= =lYqs -----END PGP SIGNATURE----- --=-c5O1HHcMSXbzno6lacyd--