Make sure that open hash table scans are cleaned up when bgwriter tries to
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Sep 2007 17:15:55 +0000 (17:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Sep 2007 17:15:55 +0000 (17:15 +0000)
commit15396549fd546848c2660d4ce77fa4a8ce8ab8f7
tree8154e2a025952da74e37161c8d8265cd0f0f439b
parentad8e092ca378099187c7cda8c5b6e64793c9ce33
Make sure that open hash table scans are cleaned up when bgwriter tries to
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.
src/backend/postmaster/bgwriter.c