Re: BUG #15169: create index CONCURRENTLY conflict with other table's COPY
В списке pgsql-bugs по дате отправления:
| От | Sergei Kornilov |
|---|---|
| Тема | Re: BUG #15169: create index CONCURRENTLY conflict with other table's COPY |
| Дата | |
| Msg-id | 1204731524573496@web23g.yandex.ru обсуждение исходный текст |
| Ответ на | BUG #15169: create index CONCURRENTLY conflict with other table's COPY (PG Bug reporting form <noreply@postgresql.org>) |
| Список | pgsql-bugs |
Hello This works as documented: https://www.postgresql.org/docs/current/static/sql-createindex.html#SQL-CREATEINDEX-CONCURRENTLY > PostgreSQL must perform two scans of the table, and in addition it must wait for all existing transactions that could potentiallymodify or use the index to terminate > Before each table scan, the index build must wait for existing transactions that have modified the table to terminate.After the second scan, the index build must wait for any transactions that have a snapshot (see Chapter 13) predatingthe second scan to terminate. Then finally the index can be marked ready for use, and the CREATE INDEX command terminates So create index concurrently waiting your transaction. regards, Sergei
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера