pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nwalker@eldocomp.com <nwalker@eldocomp.com>
Cc: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Create Linux Script for PostgreSQL database backup
Date: Thu, 02 Sep 2004 13:33:25 -0400
Message-ID: <10808.1094146405@sss.pgh.pa.us> (raw)
In-Reply-To: <41374A4B.5050805@eldocomp.com>
References: <41374A4B.5050805@eldocomp.com>

Naomi Walker <nwalke@eldocomp.com> writes:
> Christopher Browne wrote:
>>> One question , if you set  access to server with password in
>>> pg_hba.conf how can you pass the apssword in the script?
>> 
>> You don't have to if you put it in $HOME/.pgpass; see the
>> documentation for the format of that file...
>> 
> True, but I see that as a *big* security hole.

As opposed to putting it in the script file?  Surely you jest.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <10808.1094146405@sss.pgh.pa.us>
Permalink:  ../10808.1094146405@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10808.1094146405@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, nwalker@eldocomp.com, cbbrowne@acm.org
  Subject: Re: Create Linux Script for PostgreSQL database backup
  In-Reply-To: <10808.1094146405@sss.pgh.pa.us>
  References: <41374A4B.5050805@eldocomp.com> <10808.1094146405@sss.pgh.pa.us>

* 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