Re: can we create index/constraints in different schema

Поиск
Список
Период
Сортировка
От navneet nikku
Тема Re: can we create index/constraints in different schema
Дата
Msg-id CAO9ZjbtSo5pvv-Z92i7cOfkNQwd1pHedUBVOewXT8+wDTut4Ug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: can we create index/constraints in different schema  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Ok, thanks for the clarification. 
Regards 
Navneet

On Tue, May 14, 2019 at 4:33 AM Michael Paquier <michael@paquier.xyz> wrote:
On Tue, May 14, 2019 at 03:41:37AM -0400, navneet nikku wrote:
>    This is working in Oracle but not in postgresql 'CREATE INDEX
> client.test_1_idx
>   ON dbo.test_1 (name);'   . Can we implement this by another way?

No, it is not possible to define a schema with CREATE INDEX, and an
index gets located in the same schema as its depending table.
--
Michael

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: can we create index/constraints in different schema
Следующее
От: 张连壮
Дата:
Сообщение: Re: pg_stat_database update stats_reset only by pg_stat_reset