X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 625EC52814 for ; Sat, 18 Jun 2005 14:40:47 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 09739-05 for ; Sat, 18 Jun 2005 17:40:38 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 40E9B5280D for ; Sat, 18 Jun 2005 14:40:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j5IHebG6024146; Sat, 18 Jun 2005 13:40:37 -0400 (EDT) To: Rajesh Kumar Mallah Cc: pgsql-sql@postgresql.org Subject: Re: partial index on non default tablespace syntax In-reply-to: References: Comments: In-reply-to Rajesh Kumar Mallah message dated "Sat, 18 Jun 2005 22:24:06 +0530" Date: Sat, 18 Jun 2005 13:40:37 -0400 Message-ID: <24145.1119116437@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/225 X-Sequence-Number: 21826 Rajesh Kumar Mallah 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