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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8f152b6) | patch
Add tg_updatedcols to TriggerData
Mon, 9 Mar 2020 08:22:22 +0000 (09:22 +0100)
Mon, 9 Mar 2020 08:34:55 +0000 (09:34 +0100)
commit 71d60e2aa05157efec28393b15c0b0b9fc1b210c
Add tg_updatedcols to TriggerData

This allows a trigger function to determine for an UPDATE trigger
which columns were actually updated. This allows some optimizations
in generic trigger functions such as lo_manage and
tsvector_update_trigger.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/11c5f156-67a9-0fb5-8200-2a8018eb2e0c@2ndquadrant.com
contrib/lo/expected/lo.out diff | blob | blame | history
contrib/lo/lo.c diff | blob | blame | history
contrib/lo/sql/lo.sql diff | blob | blame | history
doc/src/sgml/trigger.sgml diff | blob | blame | history
src/backend/commands/trigger.c diff | blob | blame | history
src/backend/utils/adt/tsvector_op.c diff | blob | blame | history
src/include/commands/trigger.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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