Thread: [COMMITTERS] pgsql: Fix things so that updatable views work with partitionedtables.

Fix things so that updatable views work with partitioned tables.

Previously, ExecInitModifyTable was missing handling for WITH CHECK
OPTION, and view_query_is_auto_updatable was missing handling for
RELKIND_PARTITIONED_TABLE.

Amit Langote, reviewed by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/587cda35ca331128db6c61d406d312654572834a

Modified Files
--------------
src/backend/executor/nodeModifyTable.c        | 40 +++++++++++++++++++++++++++
src/backend/rewrite/rewriteHandler.c          |  3 +-
src/test/regress/expected/updatable_views.out | 24 ++++++++++++++++
src/test/regress/sql/updatable_views.sql      | 19 +++++++++++++
4 files changed, 85 insertions(+), 1 deletion(-)