Re: pg_autovacuum entries - Mailing list pgsql-admin

From Anj Adu
Subject Re: pg_autovacuum entries
Date
Msg-id f2fd819a0911010803y666d80eehccf28e84f40d2453@mail.gmail.com
Whole thread Raw
In response to Re: pg_autovacuum entries  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: pg_autovacuum entries
List pgsql-admin
Does vacuumdb read pg_autovacuum ?

If not, can I specify multiple comma-separated tables to pass as
arguments to vacuumdb ?  The list of tables that need to be vacuumed
is a constant and hence easier to manage the vacuuming process.

On Fri, Oct 30, 2009 at 3:04 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Anj Adu escribió:
>
>> Is there a way to create an entry for a table that does not exist yet?
>
> No, you will have to have "INSERT INTO pg_autovacuum" statements
> alongside your table creation.  I don't see that this is a lot of
> trouble though, you can simply do
>
> CREATE TABLE whatever ( ... );
> INSERT INTO pg_autovacuum VALUES ('whatever'::regclass, false, -1, -1, ...);
>
> --
> Alvaro Herrera                                http://www.CommandPrompt.com/
> The PostgreSQL Company - Command Prompt, Inc.
>

pgsql-admin by date:

Previous
From: "saturon"
Date:
Subject: Consistent EC2 Snapshots with Postgres
Next
From: "Igor Polishchuk"
Date:
Subject: Re: pg_autovacuum entries