[HACKERS] Partitioning vs ON CONFLICT

Поиск
Список
Период
Сортировка
От Thom Brown
Тема [HACKERS] Partitioning vs ON CONFLICT
Дата
Msg-id CAA-aLv7Z4uygtq-Q5CvDi9Y=VZxUyEnuWjL=EwCfOof=L04hgg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Partitioning vs ON CONFLICT  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Hi,

At the moment, partitioned tables have a restriction that prevents
them allowing INSERT ... ON CONFLICT ... statements:

postgres=# INSERT INTO cities SELECT 1, 'Crawley',105000 ON CONFLICT
(city_id) DO NOTHING;
ERROR:  ON CONFLICT clause is not supported with partitioned tables

Why do we have such a restriction?  And what would it take to remove it?

Thanks

Thom



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Write Ahead Logging for Hash Indexes
Следующее
От: Surafel Temsgen
Дата:
Сообщение: Re: [HACKERS] New CORRESPONDING clause design