Directly associate primary key with user-defined tablespace

Поиск
Список
Период
Сортировка
От MichaelDBA
Тема Directly associate primary key with user-defined tablespace
Дата
Msg-id bcd5606e-3949-1551-4130-c1994e635ac3@sqlexec.com
обсуждение исходный текст
Список pgsql-hackers
Hi all!

PG by default always creates the primary key in the default tablespace unless you specify it to use an index that is defined in a user-defined tablespace.

We can create indexes in user-defined tablespaces, why can't we create  a primary key in a user-defined tablespace without having to associate it with an index? Something like:
ALTER TABLE myschema.mytable ADD PRIMARY KEY (akey) tablespace mytablespace;

Regards,

Michael Vitale

 


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

Предыдущее
От: Amit Langote
Дата:
Сообщение: moving extraUpdatedCols out of RangeTblEntry (into ModifyTable)
Следующее
От: Amit Langote
Дата:
Сообщение: Re: moving extraUpdatedCols out of RangeTblEntry (into ModifyTable)