Fix some latent bugs in dllist.c (carelessness about setting
Tom Lane <tgl@sss.pgh.pa.us>
Fix some latent bugs in dllist.c (carelessness about setting all fields that should be set). Add a MoveToFront primitive to speed up one of the hotspots in SearchSysCache.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/lib/dllist.c | modified | +63 −33 |
| src/backend/utils/cache/catcache.c | modified | +8 −6 |
| src/include/lib/dllist.h | modified | +2 −1 |