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?