postgresql/src/include
Alvaro Herrera 555ee77a96 Handle INSERT .. ON CONFLICT with partitioned tables
Commit eb7ed3f306 enabled unique constraints on partitioned tables,
but one thing that was not working properly is INSERT/ON CONFLICT.
This commit introduces a new node keeps state related to the ON CONFLICT
clause per partition, and fills it when that partition is about to be
used for tuple routing.

Author: Amit Langote, Álvaro Herrera
Reviewed-by: Etsuro Fujita, Pavan Deolasee
Discussion: https://postgr.es/m/20180228004602.cwdyralmg5ejdqkq@alvherre.pgsql
2018-03-26 10:43:54 -03:00
..
access Use stdbool.h if suitable 2018-03-22 20:42:25 -04:00
bootstrap Update copyright for 2018 2018-01-02 23:30:12 -05:00
catalog Handle INSERT .. ON CONFLICT with partitioned tables 2018-03-26 10:43:54 -03:00
commands Allow FOR EACH ROW triggers on partitioned tables 2018-03-23 10:48:22 -03:00
common restrict -> pg_restrict 2018-03-15 10:02:59 -03:00
datatype Update copyright for 2018 2018-01-02 23:30:12 -05:00
executor Add FIELDNO_* macro designating offset into structs required for JIT. 2018-03-22 14:45:59 -07:00
fe_utils Add \if support to pgbench 2018-03-22 17:42:03 +03:00
foreign Update copyright for 2018 2018-01-02 23:30:12 -05:00
jit Adapt expression JIT to stdbool.h introduction. 2018-03-22 22:15:51 -07:00
lib Minor clean-up in dshash.{c,h}. 2018-03-01 16:25:46 -08:00
libpq Add ssl_passphrase_command setting 2018-03-17 08:28:51 -04:00
mb Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Handle INSERT .. ON CONFLICT with partitioned tables 2018-03-26 10:43:54 -03:00
optimizer Implement partition-wise grouping/aggregation. 2018-03-22 12:49:48 -04:00
parser Allow UNIQUE indexes on partitioned tables 2018-02-19 17:40:00 -03:00
port Remove outdated/removed Win32 URLs in C comments 2018-01-09 18:33:21 -05:00
portability Update copyright for 2018 2018-01-02 23:30:12 -05:00
postmaster Fix more format truncation issues 2018-03-15 11:41:42 -04:00
regex Update copyright for 2018 2018-01-02 23:30:12 -05:00
replication Handle heap rewrites even better in logical decoding 2018-03-21 09:15:04 -04:00
rewrite Update copyright for 2018 2018-01-02 23:30:12 -05:00
snowball Update copyright for 2018 2018-01-02 23:30:12 -05:00
statistics Update copyright for 2018 2018-01-02 23:30:12 -05:00
storage Exclude unlogged tables from base backups 2018-03-23 19:14:12 +03:00
tcop Replace GrantObjectType with ObjectType 2018-01-19 14:01:14 -05:00
tsearch Update copyright for 2018 2018-01-02 23:30:12 -05:00
utils Basic JIT provider and error handling infrastructure. 2018-03-21 19:28:28 -07:00
.gitignore Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
c.h Fix interaction of Perl and stdbool.h 2018-03-23 10:31:10 -04:00
fmgr.h Add expression compilation support to LLVM JIT provider. 2018-03-22 14:45:59 -07:00
funcapi.h Support INOUT arguments in procedures 2018-03-14 12:07:28 -04:00
getaddrinfo.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
getopt_long.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
Makefile Add statistics subdirectory to Makefile. 2017-06-08 11:29:50 -04:00
miscadmin.h Mark assorted GUC variables as PGDLLIMPORT. 2018-02-09 15:54:45 -05:00
pg_config.h.in Add configure tests for stdbool.h and sizeof bool 2018-03-21 07:45:15 -04:00
pg_config.h.win32 Use stdbool.h if suitable 2018-03-22 20:42:25 -04:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.win32 Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_getopt.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_trace.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgstat.h Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
pgtar.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgtime.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
port.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
postgres.h Move the extern declaration for ExceptionalCondition into c.h. 2018-02-14 19:43:33 -05:00
postgres_ext.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
postgres_fe.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
rusagestub.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
windowapi.h Update copyright for 2018 2018-01-02 23:30:12 -05:00