Re: pg_dump - Mailing list pgsql-general

From Frank Finner
Subject Re: pg_dump
Date
Msg-id 20030728191813.61b32881.postgresql@finner.de
Whole thread Raw
In response to Re: pg_dump  (Andrew Sullivan <andrew@libertyrms.info>)
Responses Re: pg_dump  (Andrew Sullivan <andrew@libertyrms.info>)
List pgsql-general
Hi,

surely you are right. I´m still using 7.2.3 as production database, so I
have no experience with .pgpass. Where to put .pgpass if you use pg_dump
from a PHP script and the database user is not a system user?

Greetings,

Frank Finner


On Fri, 25 Jul 2003 17:17:26 -0400 Andrew Sullivan
<andrew@libertyrms.info> sat down, thought long and then wrote:

> On Fri, Jul 25, 2003 at 10:20:38PM +0200, Frank Finner wrote:
> > Hi,
> >
> > with PostgreSQL you can do it using the environment variables PGUSER
> > and PGPASSWORD for example in a shellscript like this (bash-syntax):
>   ^^^^^^^^^^
>
> But note that that isn't safe.  If you're using >= 7.3, you can use
> .pgpass instead, which is much safer.
>
> A

pgsql-general by date:

Previous
From: Hunter Hillegas
Date:
Subject: Re: Can't Build 7.3.4 on OS X
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: CREATE TABLE with REFERENCE