Re: running vacuum in scripts - Mailing list pgsql-general

From John DeSoi
Subject Re: running vacuum in scripts
Date
Msg-id 32EE3367-A6EF-466E-A70B-982A3D16B08E@pgedit.com
Whole thread Raw
In response to running vacuum in scripts  ("Belinda M. Giardine" <giardine@bio.cse.psu.edu>)
Responses Re: running vacuum in scripts
List pgsql-general
On Sep 19, 2005, at 2:27 PM, Belinda M. Giardine wrote:

> As far as I can tell vacuum must be run by the table or database
> owner.
> It wouldn't be as bad to have the password in the script if it was a
> limited permissions user.  Any suggestions on the best methods?

Setup a .pgpass file so you don't need to embed the password in the
script:

http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-general by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: running vacuum in scripts
Next
From: Vivek Khera
Date:
Subject: Re: Backup and Restore mechanism in Postgres