Re: Why isn't it allowed to create an index in a schema other than public? - Mailing list pgsql-general

From Jorge Godoy
Subject Re: Why isn't it allowed to create an index in a schema other than public?
Date
Msg-id 87irhkczso.fsf@ieee.org
Whole thread Raw
In response to Re: Why isn't it allowed to create an index in a schema other than public?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Jorge Godoy <jgodoy@gmail.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@gmail.com>


pgsql-general by date:

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