Re: Help automate pg_dump

From: nothanks(at)nowhere(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Help automate pg_dump
Date: 2002-06-20 21:16:58
Message-ID: 3d124517.56416250@news.gv.shawcable.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 18 Jun 2002 12:48:15 -0400, Vivek Khera <khera(at)kcilink(dot)com> wrote:

>>>>>> "n" == nothanks <nothanks(at)nowhere(dot)com> writes:
>
>n> If the username/password must be interactive, how can I script backup
>n> of the server?
>
>It honors the standard environment variables for user/password, so
>just set them. And make sure your script is not readable by anyone
>else, or your security is moot.

We, that might be the case, and I thank you for your answer, however,
on some platforms, the ps command can be used to view processes and
thier environment variables, making this solution quite insecure.
Perhaps another solution should be investigated by the postgres team.

Thanks again.

Evan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-06-20 21:19:58 Re: pltcl bug in 7.2?
Previous Message Tom Lane 2002-06-20 21:06:09 Re: Yet another "Why won't PostgreSQL use my index?"