diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-18 19:04:20 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-18 19:04:20 -0400 |
commit | dc5aeca168629183e64087b1147d3c2645e49ddc (patch) | |
tree | 0cb5c9d8fa34fe52b0dee3056e902a94d58a957b /src/include/utils | |
parent | 8f8d74647880ef53fc674498827b8b8e6c80d125 (diff) | |
download | postgresql-dc5aeca168629183e64087b1147d3c2645e49ddc.tar.gz postgresql-dc5aeca168629183e64087b1147d3c2645e49ddc.zip |
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.
Diffstat (limited to 'src/include/utils')
-rw-r--r-- | src/include/utils/catcache.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/utils/catcache.h b/src/include/utils/catcache.h index cc6dab24649..36886843233 100644 --- a/src/include/utils/catcache.h +++ b/src/include/utils/catcache.h @@ -82,7 +82,6 @@ typedef struct catctup * lookups. */ dlist_node cache_elem; /* list member of per-bucket list */ - dlist_head *cache_bucket; /* containing bucket dlist */ /* * The tuple may also be a member of at most one CatCList. (If a single |