Re: "insert [...] on conflict" hangs on conflict on an unmentioned gist index
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: "insert [...] on conflict" hangs on conflict on an unmentioned gist index |
| Дата | |
| Msg-id | 19377.1467644433@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | "insert [...] on conflict" hangs on conflict on an unmentioned gist index (Heikki Rauhala <heikki.rauhala@reaktor.fi>) |
| Ответы |
Re: "insert [...] on conflict" hangs on conflict on an unmentioned gist index
|
| Список | pgsql-bugs |
Heikki Rauhala <heikki.rauhala@reaktor.fi> writes:
> The last insert of the following statements causes a busy loop that does not complete:
> create table gist_test (
> bar text,
> foo text,
> constraint gist_test_bar_unique unique (bar),
> constraint gist_test_foo_gist_unique exclude using gist (foo with =)
> );
> insert into gist_test (bar, foo) values ('bar', 'foo');
> insert into gist_test (bar, foo) values ('baz', 'fooâ) on conflict on constraint gist_test_bar_unique do nothing;
It looks to me like the ON CONFLICT code has exactly zero chance of
working with non-btree (or more generally, non-amcanunique) indexes.
Was this case ever considered during development?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера