Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog
Date
Msg-id 499C0C0D.7010000@enterprisedb.com
Whole thread Raw
In response to Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog  (Dave Page <dpage@pgadmin.org>)
Responses Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog
PATCH: Update autovacuum (for TOAST-TABLE) to use reloptions, instead of a system catalog
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog
Next
From: Dave Page
Date:
Subject: Re: PATCH: Update autovacuum to use reloptions, instead of a system catalog