mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Catcaches can now store negative entries as well as positive ones, to
speed up repetitive failed searches; per pghackers discussion in late January. inval.c logic substantially simplified, since we can now treat inserts and deletes alike as far as inval events are concerned. Some repair work needed in heap_create_with_catalog, which turns out to have been doing CommandCounterIncrement at a point where the new relation has non-self-consistent catalog entries. With the new inval code, that resulted in assert failures during a relcache entry rebuild.
This commit is contained in:
806
src/backend/utils/cache/catcache.c
vendored
806
src/backend/utils/cache/catcache.c
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user