mirror of
https://github.com/postgres/postgres.git
synced 2026-02-16 09:08:23 -05:00
This patch makes "simple" views automatically updatable, without the need to create either INSTEAD OF triggers or INSTEAD rules. "Simple" views are those classified as updatable according to SQL-92 rules. The rewriter transforms INSERT/UPDATE/DELETE commands on such views directly into an equivalent command on the underlying table, which will generally have noticeably better performance than is possible with either triggers or user-written rules. A view that has INSTEAD OF triggers or INSTEAD rules continues to operate the same as before. For the moment, security_barrier views are not considered simple. Also, we do not support WITH CHECK OPTION. These features may be added in future. Dean Rasheed, reviewed by Amit Kapila |
||
|---|---|---|
| .. | ||
| prs2lock.h | ||
| rewriteDefine.h | ||
| rewriteHandler.h | ||
| rewriteManip.h | ||
| rewriteRemove.h | ||
| rewriteSupport.h | ||