git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 523beaa) | patch
Allow only some columns of a view to be auto-updateable.
2013年10月18日 14:35:36 +0000 (10:35 -0400)
2013年10月18日 14:35:36 +0000 (10:35 -0400)
commit cab5dc5daf2f6f5da0ce79deb399633b4bb443b5
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
doc/src/sgml/ref/create_view.sgml diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/commands/view.c diff | blob | blame | history
src/backend/rewrite/rewriteHandler.c diff | blob | blame | history
src/backend/utils/adt/misc.c diff | blob | blame | history
src/include/rewrite/rewriteHandler.h diff | blob | blame | history
src/test/regress/expected/updatable_views.out diff | blob | blame | history
src/test/regress/sql/updatable_views.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /