From: Mr. Dan <bitsandbytes88@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: PGPASSWORD
Date: Thu, 23 Feb 2006 14:43:19 -0500
Message-ID: <BAY102-F239156E2128536C70F414CD1F20@phx.gbl> (raw)
Hi,
When I was running 8.0.X on linux, I didn't have to include the postgres -P
password in my shell scripts(.sh). After I switched to 8.1.X, I've had to
include the -P PASSWORD ****** in all my scripts. I'm thinking I'll just
add PGPASSWORD as a postgres environment variable instead. I did start
running 8.1.X on a port that is different from the default, so I added
PGPORT as an environment variable, so I don't have to include -p PORT
NUMBER. Has anyone else noticed they had to start including a password for
the postgres user in 8.1.X? Is there any concern to adding PGPASSWORD as an
environment variable.
Thanks for any feedback,
~DjK
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bitsandbytes88@hotmail.com
Subject: Re: PGPASSWORD
In-Reply-To: <BAY102-F239156E2128536C70F414CD1F20@phx.gbl>
References: <BAY102-F239156E2128536C70F414CD1F20@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox