Re: running vacuum in scripts

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: running vacuum in scripts
Дата
Msg-id 32EE3367-A6EF-466E-A70B-982A3D16B08E@pgedit.com
обсуждение исходный текст
Ответ на running vacuum in scripts  ("Belinda M. Giardine" <giardine@bio.cse.psu.edu>)
Ответы Re: running vacuum in scripts  ("Belinda M. Giardine" <giardine@bio.cse.psu.edu>)
Список 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 по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: running vacuum in scripts
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Backup and Restore mechanism in Postgres