Re: user privilages for executing pg_autovacuum?

From: Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: user privilages for executing pg_autovacuum?
Date: 2005-10-11 16:34:23
Message-ID: 008a01c5ce81$a379d1e0$52bffea9@zlatkovyfkpgz6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 ?

Thanks,

Zlatko

----- Original Message -----
From: "Matthew T. O'Connor" <matthew(at)zeut(dot)net>
To: "Zlatko Matić" <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Tuesday, October 11, 2005 4:00 PM
Subject: Re: [GENERAL] user privilages for executing pg_autovacuum?

Zlatko Matić wrote:
> For pg_dump minimum privilages is to have select right on tables.
> For vacuumdb, one must be owner of tables or a superuser.
> What are minimum rights for user that is trying to execute pg_autovacuum
> ?

Not sure exactly, you need to have permission to vacuum every table in
the database including system tables.

> How can I monitor vacuuming by pg_autovacuum ?

It logs all its activity if you set the debug option to an appropriate
level. Try -d1 or -d2.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bricklen Anderson 2005-10-11 16:34:38 Re: fine tuned database dump/reload?
Previous Message Scott Marlowe 2005-10-11 16:33:07 Re: fine tuned database dump/reload?