Re: user privilages for executing pg_autovacuum?

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: user privilages for executing pg_autovacuum?
Дата
Msg-id 20051011231440.GM23883@pervasive.com
обсуждение исходный текст
Ответ на Re: user privilages for executing pg_autovacuum?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, Oct 11, 2005 at 02:39:24PM -0400, Tom Lane wrote:
> =?iso-8859-2?Q?Zlatko_Mati=E6?= <zlatko.matic1@sb.t-com.hr> writes:
> > That's the reason why I ask. If a user that executes pg_autovacuum must be
> > owner of tables or a superuser, that it is a security problem to pass
> > password as plain text...
> > How peple solve this problem ?
>
> Put the password in a ~/.pgpass file belonging to the user that runs the
> autovacuum task.

Or you can run pg_autovacuum on the server itself and allow ident
authentication for unix sockets (assuming you're on unix/linux).
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [pgsql-advocacy] Oracle buys Innobase
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Cluster/redundancy question