From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Euler Taveira de Oliveira <euler(at)timbira(dot)com> |
Subject: | Re: reloptions and toast tables |
Date: | 2008-12-31 19:41:54 |
Message-ID: | 20081231194154.GL3809@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> On Sunday 21 December 2008 01:48:42 Alvaro Herrera wrote:
> > ALTER TABLE foo SET (TOAST autovacuum_enabled = false);
> > ALTER TABLE foo SET (toast.autovacuum_enabled = false);
> > ALTER TABLE foo TOAST SET (autovacuum_enabled = false);
> > ALTER TABLE foo SET TOAST (autovacuum_enabled = false);
>
> The last two don't appear to allow setting TOAST and non-TOAST options in one
> go. I think it would be handy to allow that, though.
Agreed -- so I'm now playing with this version:
> > ALTER TABLE foo SET (TOAST autovacuum_enabled = false);
So the grammar modifications needed to accept that are attached. The
support code is a lot messier than I'd like :-(
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Attachment | Content-Type | Size |
---|---|---|
relopt-toast-grammar.patch | text/x-diff | 12.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2008-12-31 19:45:18 | Re: lazy_truncate_heap() |
Previous Message | Tom Lane | 2008-12-31 19:17:18 | Re: pg_dump roles support [Review] |