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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 632ae68) | patch
Revise sinval code to remove no-longer-used tuple TID from inval messages.
2011年8月16日 23:27:46 +0000 (19:27 -0400)
2011年8月16日 23:27:46 +0000 (19:27 -0400)
commit b5282aa893e565b7844f8237462cb843438cdd5e
Revise sinval code to remove no-longer-used tuple TID from inval messages.

This requires adjusting the API for syscache callback functions: they now
get a hash value, not a TID, to identify the target tuple. Most of them
weren't paying any attention to that argument anyway, but plancache did
require a small amount of fixing.

Also, improve performance a trifle by avoiding sending duplicate inval
messages when a heap_update isn't changing the catcache lookup columns.
19 files changed:
src/backend/access/heap/heapam.c diff | blob | blame | history
src/backend/catalog/namespace.c diff | blob | blame | history
src/backend/nodes/copyfuncs.c diff | blob | blame | history
src/backend/nodes/outfuncs.c diff | blob | blame | history
src/backend/optimizer/plan/setrefs.c diff | blob | blame | history
src/backend/optimizer/util/predtest.c diff | blob | blame | history
src/backend/parser/parse_oper.c diff | blob | blame | history
src/backend/utils/adt/acl.c diff | blob | blame | history
src/backend/utils/cache/attoptcache.c diff | blob | blame | history
src/backend/utils/cache/catcache.c diff | blob | blame | history
src/backend/utils/cache/inval.c diff | blob | blame | history
src/backend/utils/cache/plancache.c diff | blob | blame | history
src/backend/utils/cache/spccache.c diff | blob | blame | history
src/backend/utils/cache/ts_cache.c diff | blob | blame | history
src/backend/utils/misc/superuser.c diff | blob | blame | history
src/include/nodes/plannodes.h diff | blob | blame | history
src/include/storage/sinval.h diff | blob | blame | history
src/include/utils/catcache.h diff | blob | blame | history
src/include/utils/inval.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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