Re: pg_autovacuum entries

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Anj Adu <fotographs(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_autovacuum entries
Date: 2009-10-30 23:04:46
Message-ID: 20091030230446.GI4003@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message saturon 2009-10-31 14:43:48 Consistent EC2 Snapshots with Postgres
Previous Message Anj Adu 2009-10-30 21:48:09 pg_autovacuum entries