Re: partial index on non default tablespace syntax - Mailing list pgsql-sql

From Tom Lane
Subject Re: partial index on non default tablespace syntax
Date
Msg-id 24145.1119116437@sss.pgh.pa.us
Whole thread Raw
In response to partial index on non default tablespace syntax  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
List 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 by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: partial index on non default tablespace syntax
Next
From: Larry Meadors
Date:
Subject: Looking for info on 8.1 features, and some examples