Re: Updated ALTER TABLE ... SET TABLESPACE patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updated ALTER TABLE ... SET TABLESPACE patch
Дата
Msg-id 2050.1089588920@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Updated ALTER TABLE ... SET TABLESPACE patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Updated ALTER TABLE ... SET TABLESPACE patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Updated ALTER TABLE ... SET TABLESPACE patch  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Added to TODO;
>     * Allow moving sequences and toast tables to other tablespaces
> in case no one does it.

Please remove that; if I thought either one was a good idea, I would
have allowed it in the committed patch.

Sequences are too small to be worth moving around, and may someday be
reimplemented in a fashion that doesn't use up a separate disk file for
each one.  If we allow SET TABLESPACE on them we will be limiting our
future flexibility for no useful gain.

Toast tables are bound to their parent tables because (a) pg_dump isn't
nearly smart enough to handle moving them, and (b) I've got concerns
about how you decide whether a person is authorized to move one.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Updated ALTER TABLE ... SET TABLESPACE patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Updated ALTER TABLE ... SET TABLESPACE patch