Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE
Дата
Msg-id 29089.1093962663@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <fabien.coelho@ensmp.fr> writes:
>> The sequences are in the same tablespace as the system catalogs of the
>> database they are in, so this objection is moot.

> three (unusual?) commands to reach the "moot" state:

>     psql> CREATE TABLESPACE foo LOCATION '/tmp/postgres';
>     psql> CREATE SCHEMA bla TABLESPACE foo;
>     psql> CREATE TABLE bla.boo(id SERIAL PRIMARY KEY);

> Now you have schema bla, table bla.boo, index bla.boo_pkey and sequence
> bla.boo_id_seq all in tablespace foo.

Hmm, that's a bug.  The intention was that sequences would always be
in the database default tablespace.  I'm not sure why this case is
overriding that ... but we can fix it.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Win32 compile and beta2
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE