Re: BUG #15724: Can't create foreign table as partition
Вложения
В списке pgsql-bugs по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: BUG #15724: Can't create foreign table as partition |
| Дата | |
| Msg-id | 20190329135519.GA21373@alvherre.pgsql обсуждение исходный текст |
| Ответ на | BUG #15724: Can't create foreign table as partition (PG Bug reporting form <noreply@postgresql.org>) |
| Ответы |
Re: BUG #15724: Can't create foreign table as partition
Re: BUG #15724: Can't create foreign table as partition |
| Список | pgsql-bugs |
On 2019-Mar-29, PG Bug reporting form wrote: > CREATE FOREIGN TABLE staging.msg_json PARTITION of msg_json > FOR VALUES FROM (20170101) TO (20180101) > SERVER postgres_big_data_arch > OPTIONS (schema_name 'fix_capture', table_name 'msg_json'); > > > I got error !!!! > > SQL Error [42809]: ERROR: cannot create index on foreign table "msg_json" > ERROR: cannot create index on foreign table "msg_json" > ERROR: cannot create index on foreign table "msg_json" Ah, this is because we try to propagate the index to the partition, which appears to be less than desirable. Maybe this patch fixes it? I have not tested it, only verified that it compiles. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера