pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
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 11:27:22 -0600
Message-ID: <20050618172722.GA92486@winnie.fuhr.org> (raw)
In-Reply-To: <a97c7703050618095412321ec1@mail.gmail.com>
References: <a97c7703050618095412321ec1@mail.gmail.com>

On Sat, Jun 18, 2005 at 10:24:06PM +0530, Rajesh Kumar Mallah wrote:
> 
> Looks like its not possible to specify tablespace of an index with a
> where clause,

Could you show the command you're running and the error you get,
or otherwise explain what problem you're seeing?  Is the following
not what you're looking for?

CREATE INDEX foo_name_idx ON foo (name)
  TABLESPACE testspace
  WHERE name IS NOT NULL;

http://www.postgresql.org/docs/8.0/static/sql-createindex.html

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (4+ messages)  latest in thread

Message-ID: <20050618172722.GA92486@winnie.fuhr.org>
Permalink:  ../20050618172722.GA92486@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050618172722.GA92486@winnie.fuhr.org

 · 

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: mike@fuhr.org, mallah.rajesh@gmail.com
  Subject: Re: partial index on non default tablespace syntax
  In-Reply-To: <20050618172722.GA92486@winnie.fuhr.org>

* 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