Allow only some columns of a view to be auto-updateable.

Robert Haas <rhaas@postgresql.org>

Commit: cab5dc5daf2f6f5da0ce79deb399633b4bb443b5
Author: Robert Haas <rhaas@postgresql.org>
Date: 2013-10-18T14:35:36Z
Releases: 9.4.0
Allow only some columns of a view to be auto-updateable.

Previously, unless all columns were auto-updateable, we wouldn't
inserts, updates, or deletes, or at least not without a rule or trigger;
now, we'll allow inserts and updates that target only the auto-updateable
columns, and deletes even if there are no auto-updateable columns at
all provided the view definition is otherwise suitable.

Dean Rasheed, reviewed by Marko Tiikkaja

Files