X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 57B715E40BA for ; Thu, 2 Sep 2004 14:33:36 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80935-07 for ; Thu, 2 Sep 2004 17:33:32 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id A93F05E3F15 for ; Thu, 2 Sep 2004 14:33:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i82HXPwx010809; Thu, 2 Sep 2004 13:33:26 -0400 (EDT) To: "nwalker@eldocomp.com" Cc: Christopher Browne , "pgsql-admin@postgresql.org" Subject: Re: Create Linux Script for PostgreSQL database backup In-reply-to: <41374A4B.5050805@eldocomp.com> References: <41374A4B.5050805@eldocomp.com> Comments: In-reply-to Naomi Walker message dated "Thu, 02 Sep 2004 09:28:59 -0700" Date: Thu, 02 Sep 2004 13:33:25 -0400 Message-ID: <10808.1094146405@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200409/28 X-Sequence-Number: 14731 Naomi Walker 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