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  (Jaime Casanova <jaime@2ndquadrant.com>)
Re: patch : Allow toast tables to be moved to a different tablespace  (Jaime Casanova <jaime@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: ToDo: pg_backup - using a conditional DROP
Следующее
От: Greg Smith
Дата:
Сообщение: Re: [PATCH] Unremovable tuple monitoring