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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why isn't it allowed to create an index in a schema other than public?
Дата
Msg-id 26604.1163352097@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Why isn't it allowed to create an index in a schema other than public?  (Jorge Godoy <jgodoy@gmail.com>)
Ответы Re: Why isn't it allowed to create an index in a schema other than public?  (Jorge Godoy <jgodoy@gmail.com>)
Список pgsql-general
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.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: join condition against where with coalesce
Следующее
От: "pgsql-general@list.coretech.ro"
Дата:
Сообщение: Re: specify whitch index to use