Re: patch : Allow toast tables to be moved to a different tablespace
От | Julien Tachoires |
---|---|
Тема | Re: patch : Allow toast tables to be moved to a different tablespace |
Дата | |
Msg-id | CAFEQCbGPrRpV1+bQSQ-v0i-md18rvx6jpyR=TEYt+9sPCfTMYw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: patch : Allow toast tables to be moved to a different tablespace (Jaime Casanova <jaime@2ndquadrant.com>) |
Ответы |
Re: patch : Allow toast tables to be moved to a different tablespace
Re: patch : Allow toast tables to be moved to a different tablespace |
Список | pgsql-hackers |
2011/11/15 Jaime Casanova <jaime@2ndquadrant.com>: > On Fri, Oct 7, 2011 at 10:10 AM, Julien Tachoires <julmon@gmail.com> wrote: >> Hi, >> >> Here's a patch to allow TOAST tables to be moved to a different tablespace. >> This item has been picked up from the TODO list. >> Main idea is to consider that a TOAST table can have its own tablespace. >> > > Hi, > > This patch doesn't apply cleanly to head now... can you send a new > version against head? Hi Jaime, New patch is attached. > > about the patch itself. i don't like the fact that now the normal case > needs to include the word TABLE. IMHO, it should be optional and if > ommited TABLE should be assumed > Maybe I'd missed something, but the normal case is : ALTER TABLE ... SET TABLESPACE => moves Table + moves associated TOAST Table ALTER TABLE ... SET TABLE TABLESPACE => moves Table & keeps associated TOAST Table at its place ALTER TABLE ... SET TOAST TABLESPACE => keeps Table at its place & moves associated TOAST Table Regards, -- JT
Вложения
В списке pgsql-hackers по дате отправления: