Re: [HACKERS] Partitioning vs ON CONFLICT

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: [HACKERS] Partitioning vs ON CONFLICT
Дата
Msg-id
CA+TgmoZ-c+88XgAEPDtyziLed3uBbVWhyUseXrUt3YosticpEQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[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 Mon, Apr 3, 2017 at 6:28 AM, Amit Langote
 wrote:
> Since nowhere has the user asked to ensure unique(b) across partitions by
> defining the same on parent, this seems just fine.  But one question to
> ask may be whether that will *always* be the case?  That is, will we take
> ON CONFLICT DO NOTHING without the conflict target specification to mean
> checking for conflicts on the individual leaf partition level, even in the
> future when we may have global constraints?

No.  We'll take it to mean that there is no conflict with any unique
constraint we're able to declare.  Currently, that means a
partition-local unique constraint because that's all there is.  It
will include any new things added in the future.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Robert Haas
Дата:
FAQ