Fix things so that updatable views work with partitioned tables.

Robert Haas <rhaas@postgresql.org>

Commit: 587cda35ca331128db6c61d406d312654572834a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-01-24T20:46:50Z
Releases: 10.0
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.

Files