mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 03:09:23 +02:00
a99c42f291
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 |
||
---|---|---|
.. | ||
.gitignore | ||
acl.h | ||
array.h | ||
ascii.h | ||
attoptcache.h | ||
builtins.h | ||
bytea.h | ||
cash.h | ||
catcache.h | ||
combocid.h | ||
date.h | ||
datetime.h | ||
datum.h | ||
dynahash.h | ||
dynamic_loader.h | ||
elog.h | ||
evtcache.h | ||
fmgrtab.h | ||
formatting.h | ||
geo_decls.h | ||
guc_tables.h | ||
guc.h | ||
help_config.h | ||
hsearch.h | ||
inet.h | ||
int8.h | ||
inval.h | ||
json.h | ||
logtape.h | ||
lsyscache.h | ||
memutils.h | ||
nabstime.h | ||
numeric.h | ||
palloc.h | ||
pg_crc_tables.h | ||
pg_crc.h | ||
pg_locale.h | ||
pg_lzcompress.h | ||
pg_rusage.h | ||
plancache.h | ||
portal.h | ||
ps_status.h | ||
rangetypes.h | ||
rbtree.h | ||
rel.h | ||
relcache.h | ||
relmapper.h | ||
reltrigger.h | ||
resowner_private.h | ||
resowner.h | ||
selfuncs.h | ||
snapmgr.h | ||
snapshot.h | ||
sortsupport.h | ||
spccache.h | ||
syscache.h | ||
timeout.h | ||
timestamp.h | ||
tqual.h | ||
tuplesort.h | ||
tuplestore.h | ||
typcache.h | ||
tzparser.h | ||
uuid.h | ||
varbit.h | ||
xml.h |