Re: partial index on non default tablespace syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: partial index on non default tablespace syntax
Дата
Msg-id 24145.1119116437@sss.pgh.pa.us
обсуждение исходный текст
Ответ на partial index on non default tablespace syntax  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
Список pgsql-sql
Rajesh Kumar Mallah <mallah.rajesh@gmail.com> writes:
> Looks like its not possible to specify tablespace of an index with a
> where clause,

Hm?

regression=# create table foo(f1 int, f2 int);
CREATE TABLE
regression=# create index fooi on foo (f1) tablespace pg_default where f2 < 0;
CREATE INDEX

(I hadn't bothered to make a tablespace to test with, but the point
is the syntax is fine.)
        regards, tom lane


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: partial index on non default tablespace syntax
Следующее
От: Larry Meadors
Дата:
Сообщение: Looking for info on 8.1 features, and some examples