Re: partial index on non default tablespace syntax

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема Re: partial index on non default tablespace syntax
Дата
Msg-id a97c7703050618232119d5fe89@mail.gmail.com
обсуждение исходный текст
Ответ на Re: partial index on non default tablespace syntax  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Fuhr,Tom and Everyone
Extremely sorry for not consulting the docs.
I was doing this:

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

Regds
Rajesh Kumar Mallah.

On 6/18/05, Michael Fuhr <mike@fuhr.org> wrote:
> 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/
>


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

Предыдущее
От: Vilinski Vladimir
Дата:
Сообщение: WHY transaction waits for another transaction?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Set Membership operator -- test group membership