Re: Why isn't it allowed to create an index in a schema other than public?

From: Jorge Godoy <jgodoy(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jorge Godoy <jgodoy(at)gmail(dot)com>, PostgreSQL General ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why isn't it allowed to create an index in a schema other than public?
Date: 2006-11-12 17:58:31
Message-ID: 87irhkczso.fsf@ieee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Jorge Godoy <jgodoy(at)gmail(dot)com> writes:
>> I'd like to know if there's any reasoning for not allowing creating an index
>> inside the same schema where the table is.
>
> Actually, you've got that exactly backwards: it's not allowed to have
> the index in a *different* schema from its parent table. Hence there
> is no need for the CREATE INDEX command to accept a schema attached
> to the index name --- the only one that counts is the one attached to
> the table name.

Indeed, Tom... As I said to Martijn I need to stop thinking about those thing
and rest more on weekends :-)

Sorry for the noise... :-)

--
Jorge Godoy <jgodoy(at)gmail(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Desmond Coughlan 2006-11-12 18:07:53 Trying to Install PhP-4 Module for PostgreSQL from Ports
Previous Message Jorge Godoy 2006-11-12 17:54:11 Re: Why isn't it allowed to create an index in a schema other than public?