pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: partial index on non default tablespace syntax
Date: Sat, 18 Jun 2005 13:40:37 -0400
Message-ID: <24145.1119116437@sss.pgh.pa.us> (raw)
In-Reply-To: <a97c7703050618095412321ec1@mail.gmail.com>
References: <a97c7703050618095412321ec1@mail.gmail.com>

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



view thread (4+ messages)  latest in thread

Message-ID: <24145.1119116437@sss.pgh.pa.us>
Permalink:  ../24145.1119116437@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24145.1119116437@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mallah.rajesh@gmail.com
  Subject: Re: partial index on non default tablespace syntax
  In-Reply-To: <24145.1119116437@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox