Re: PGPASSWORD

From: Andy Shellam <andy(dot)shellam(at)mailnetwork(dot)co(dot)uk>
To: "Mr(dot) Dan" <bitsandbytes88(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PGPASSWORD
Date: 2006-02-23 23:08:52
Message-ID: 43FE4084.3050509@mailnetwork.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Look at your pg_hba.conf file - your old configuration might have had a
"trust" authentication set somewhere for your local machine/network IPs,
rendering any password unnecessary.

Andy

Mr. Dan wrote:
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
> !DSPAM:43fe0ff820151195621447!
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Shellam 2006-02-23 23:23:42 Re: Deinstallation
Previous Message Michael Fuhr 2006-02-23 22:07:59 Re: ERROR: Cannot determine geometry type (empty table).