Re: autovacuum and reloptions - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Re: autovacuum and reloptions
Date
Msg-id 20081009113015.78FF.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to autovacuum and reloptions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: autovacuum and reloptions
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:

> So I gave up waiting for someone else to do the reloptions patch for
> autovacuum and started work on it myself.

Is it needed to keep backward compatibility?

I'd like to suggest to keep pg_catalog.pg_autovacuum as a system view
even after the options is put into reloptons, and the view to be
updatable using RULEs if possible.

Current pg_autovacuum-table approach has a benefit that
we can configure options by rule, for example:
 INSERT INTO pg_autovacuu SELECT ... FROM pg_class WHERE ...;

But we will not able to do that if the settings will be in reloptions
because ALTER TABLE SET cannot be used with JOINs.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: About postgresql8.3.3 build in MS VS2005
Next
From: "Dickson S. Guedes"
Date:
Subject: Re: WITH RECURSIVE ... simplified syntax?