postgresql/src
Robert Haas f05230752d Revert "Allow ON CONFLICT .. DO NOTHING on a partitioned table."
This reverts commit 8355a011a0, which
turns out to have been a misguided effort.  We can't really support
this in a partitioning hierarchy after all for exactly the reasons
stated in the documentation removed by that commit.  It's still
possible to use ON CONFLICT .. DO NOTHING (or for that matter ON
CONFLICT .. DO UPDATE) on individual partitions if desired, but
but to allow this on a partitioned table implies that we have some
way of evaluating uniqueness across the whole partitioning
hierarchy, which is false.

Shinoda Noriyoshi noticed that the old code was crashing (which we
could fix, though not in a nice way) and Amit Langote realized
that this was indicative of a fundamental problem with the commit
being reverted here.

Discussion: http://postgr.es/m/ff3dc21d-7204-c09c-50ac-cf11a8c45c81@lab.ntt.co.jp
2017-03-31 16:48:21 -04:00
..
backend Revert "Allow ON CONFLICT .. DO NOTHING on a partitioned table." 2017-03-31 16:48:21 -04:00
bin Support \if ... \elif ... \else ... \endif in psql scripting. 2017-03-30 12:59:24 -04:00
common Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
fe_utils Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
include Don't allocate storage for partitioned tables. 2017-03-31 16:28:51 -04:00
interfaces Fix typo in comment 2017-03-31 09:00:38 +02:00
makefiles
pl PL/Python: Add cursor and execute methods to plan object 2017-03-27 11:37:22 -04:00
port Fix and simplify check for whether we're running as Windows service. 2017-03-17 11:14:01 +02:00
template
test Revert "Allow ON CONFLICT .. DO NOTHING on a partitioned table." 2017-03-31 16:48:21 -04:00
timezone
tools Fix Perl code which had broken the Windows build 2017-03-28 09:00:59 -04:00
tutorial
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in ICU support 2017-03-23 15:28:48 -04:00
Makefile.shlib
nls-global.mk
win32.mak