mirror of
https://github.com/postgres/postgres.git
synced 2025-12-16 16:42:29 +03:00
Revert b6002a796
This removes "Add Result Cache executor node". It seems that something weird is going on with the tracking of cache hits and misses as highlighted by many buildfarm animals. It's not yet clear what the problem is as other parts of the plan indicate that the cache did work correctly, it's just the hits and misses that were being reported as 0. This is especially a bad time to have the buildfarm so broken, so reverting before too many more animals go red. Discussion: https://postgr.es/m/CAApHDvq_hydhfovm4=izgWs+C5HqEeRScjMbOgbpC-jRAeK3Yw@mail.gmail.com
This commit is contained in:
@@ -394,25 +394,6 @@ dlist_move_head(dlist_head *head, dlist_node *node)
|
||||
dlist_check(head);
|
||||
}
|
||||
|
||||
/*
|
||||
* Move element from its current position in the list to the tail position in
|
||||
* the same list.
|
||||
*
|
||||
* Undefined behaviour if 'node' is not already part of the list.
|
||||
*/
|
||||
static inline void
|
||||
dlist_move_tail(dlist_head *head, dlist_node *node)
|
||||
{
|
||||
/* fast path if it's already at the tail */
|
||||
if (head->head.prev == node)
|
||||
return;
|
||||
|
||||
dlist_delete(node);
|
||||
dlist_push_tail(head, node);
|
||||
|
||||
dlist_check(head);
|
||||
}
|
||||
|
||||
/*
|
||||
* Check whether 'node' has a following node.
|
||||
* Caution: unreliable if 'node' is not in the list.
|
||||
|
||||
Reference in New Issue
Block a user