Re: Partitioning vs ON CONFLICT
От
Robert Haas
Тема
Re: Partitioning vs ON CONFLICT
Дата
Msg-id
CA+Tgmoa2xKq6pJBvh_V9AFw=HF3WwxsQYoiDr6RH8P58kbf80A@mail.gmail.com
Ответ на
Re: Partitioning vs ON CONFLICT (Peter Geoghegan)
Список
Дерево обсуждения
[HACKERS] Partitioning vs ON CONFLICT Thom Brown <thom@linux.com>
Re: [HACKERS] Partitioning vs ON CONFLICT Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Partitioning vs ON CONFLICT Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Partitioning vs ON CONFLICT Robert Haas <robertmhaas@gmail.com>
Re: Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Partitioning vs ON CONFLICT "Shinoda, Noriyoshi" <noriyoshi.shinoda@hpe.com>
Re: Partitioning vs ON CONFLICT Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Partitioning vs ON CONFLICT Robert Haas <robertmhaas@gmail.com>
Re: Partitioning vs ON CONFLICT Peter Geoghegan <pg@bowt.ie>
Re: Partitioning vs ON CONFLICT Robert Haas <robertmhaas@gmail.com>
Re: Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Partitioning vs ON CONFLICT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Partitioning vs ON CONFLICT Rukh Meski <rukh.meski@gmail.com>
Re: Partitioning vs ON CONFLICT Peter Geoghegan <pg@bowt.ie>
On Fri, Mar 31, 2017 at 5:33 PM, Peter Geoghegan wrote: > In my opinion, for the very limited ON CONFLICT DO NOTHING + no > inference specification case, the implementation should not care about > the presence or absence of unique indexes within or across partitions. Hmm. That's an interesting point. The documentation says: ON CONFLICT can be used to specify an alternative action to raising a unique constraint or exclusion constraint violation error. And, indeed, you could get an unique constraint or exclusion error because of an index on the child even though it's not global to the partitioning hierarchy. So maybe we can support this after all, but having messed it up once, I'm inclined to think we should postpone this to v11, think it over some more, and try to make sure that our second try doesn't crash... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления