Re: Partitioning vs ON CONFLICT
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Simon Riggs <simon@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Thom Brown <thom@linux.com>
Date: 2017-02-17T05:50:45Z
Lists: pgsql-hackers
On Thu, Feb 16, 2017 at 9:27 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote: > Attached patch fixes that. Thom, your example query should not error out > with the patch. As discussed here, DO UPDATE cannot be supported at the > moment. Maybe you should just let infer_arbiter_indexes() fail, rather than enforcing this directly. IIRC, that's what happens with inheritance-based partitioning. -- Peter Geoghegan
Commits
-
Revert "Allow ON CONFLICT .. DO NOTHING on a partitioned table."
- f05230752d53 10.0 landed
-
Allow ON CONFLICT .. DO NOTHING on a partitioned table.
- 8355a011a012 10.0 landed