Re: Using ALTER TABLESPACE in pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using ALTER TABLESPACE in pg_dump
Дата
Msg-id 3589.1099275493@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Using ALTER TABLESPACE in pg_dump  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Using ALTER TABLESPACE in pg_dump
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Gavin Sherry wrote:
>> I'm not sure about TOAST however. I considered the idea of adding
>> something to CREATE TABLE like TOASTSPACE <tablespace>, such that all
>> TOAST tables would be put in the 'toastspace'. But I think the syntax is
>> ugly and would confuse many users who do not know what toast is.

> I think we need to add temp_tablespace and toast_tablespace GUC
> variables to deal with this, perhaps for 8.1.

A tablespace for temp tables is okay, but I'm fairly dubious about the
idea of a "toast tablespace".  The current behavior is that a toast
table is automatically placed into the same tablespace as its parent,
and that seems exactly right to me.  It's certainly the right thing from
the point of view of users who do not understand TOAST and expect all of
a table's data to get put where they said to put the table.
        regards, tom lane


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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: tablespaces for temporary files
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Using ALTER TABLESPACE in pg_dump