USING INDEX TABLESPACE

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема USING INDEX TABLESPACE
Дата
Msg-id 41072747.8030602@familyhealth.com.au
обсуждение исходный текст
Ответы Re: USING INDEX TABLESPACE  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: USING INDEX TABLESPACE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
The attached patch allows the specification of the tablespace the index
is to be created in for unique and pk constraints.  It also fixes the
dumping of such constraints so that they are restored into the correct
tablespace, after they have been moved with SET TABLESPACE.  This is
currently an outstanding pg_dump bug.

The syntax is exactly what Oracle uses as far as i can tell, and I think
that we need 'using index' in there, because it's the index that's in a
tablespace, NOT the constraint itself.

Includes docs.

eg:

create table test (a integer primary key index tablespace loc);

create table test (a integer unique index tablespace loc);

create table test (a integer);
alter table test add primary key(a) index tablespace loc;

create table test (a integer);
alter table test add unique(a) index tablespace loc;

Chris


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [subxacts] Fixing TODO items
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [subxacts] Fixing TODO items