Re: Create Linux Script for PostgreSQL database backup - Mailing list pgsql-admin

From Christopher Browne
Subject Re: Create Linux Script for PostgreSQL database backup
Date
Msg-id m31xhk90mk.fsf@wolfe.cbbrowne.com
Whole thread Raw
In response to Create Linux Script for PostgreSQL database backup  (Lawrence C <research_2004@yahoo.com>)
List pgsql-admin
A long time ago, in a galaxy far, far away, sandro.garoffolo@unito.it (Sandro Garoffolo) 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...
--
(format nil "~S@~S" "cbbrowne" "cbbrowne.com")
http://cbbrowne.com/info/sap.html
What would the world be like with no hypothetical situations?

pgsql-admin by date:

Previous
From: Sandro Garoffolo
Date:
Subject: Re: Create Linux Script for PostgreSQL database backup
Next
From: Naomi Walker
Date:
Subject: Re: Create Linux Script for PostgreSQL database backup