Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog
Date: 2009-02-18 13:24:29
Message-ID: 499C0C0D.7010000@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave Page,
>> In "CREATE/ALTER TABLE", it also supports for toast.autovacuum* settings (as
>> storage parameters),
>> which I have not implemented currently.
>> Do we need to give support for that?
>> And if yes,
> If you can add it in the next few days, then I think yes.
I will try to finish it by this end of week / Monday.
>> 1. Which documents I need to read for that?
> http://developer.postgresql.org/pgdocs/postgres/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS
> It all looks pretty much the same as the work you've done though.
Yeah.
>> 2. From which catalog tables, I can get the toast.autovacuum* settings.
> I assume they go in pg_class.reloptions for the owner table. It should
> be easy to test that.
I need to find the TOAST table, if any.
And this table's reloptions contains the toast.autovacuum* settings.
>> 3. How UI should look like?
> Good question. What about having a tabset under the 'Custom
> Autovacuum' checkbox, and have one page that shows the existing
> options for the table, and one that shows the TOAST options?
Shouldn't we have two 'Custom Autovacuum' checkbox - one for the table
and the
other for the toast table?
Tabset under the 'Vacuum Settings' should do.

What do you say?

--
Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2009-02-18 14:01:13 Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog
Previous Message Dave Page 2009-02-18 12:31:08 Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog