• Tom Lane's avatar
    Make sure that open hash table scans are cleaned up when bgwriter tries to · f181f9e1
    Tom Lane authored
    recover from elog(ERROR).  Problem was created by introduction of hash seq
    search tracking awhile back, and affects all branches that have bgwriter;
    in HEAD the disease has snuck into autovacuum and walwriter too.  (Not sure
    that the latter two use hash_seq_search at the moment, but surely they might
    someday.)  Per report from Sergey Koposov.
    f181f9e1
walwriter.c 8.77 KB