]> granicus.if.org Git - postgresql/commit
Remove unnecessary "head" arguments from some dlist/slist functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Oct 2012 23:04:20 +0000 (19:04 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Oct 2012 23:04:20 +0000 (19:04 -0400)
commitdc5aeca168629183e64087b1147d3c2645e49ddc
tree0cb5c9d8fa34fe52b0dee3056e902a94d58a957b
parent8f8d74647880ef53fc674498827b8b8e6c80d125
Remove unnecessary "head" arguments from some dlist/slist functions.

dlist_delete, dlist_insert_after, dlist_insert_before, slist_insert_after
do not need access to the list header, and indeed insisting on that negates
one of the main advantages of a doubly-linked list.

In consequence, revert addition of "cache_bucket" field to CatCTup.
src/backend/postmaster/autovacuum.c
src/backend/postmaster/postmaster.c
src/backend/utils/cache/catcache.c
src/include/lib/ilist.h
src/include/utils/catcache.h