Re: [HACKERS] ERROR: btree scan list trashed ?? - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: [HACKERS] ERROR: btree scan list trashed ??
Date
Msg-id Pine.BSF.4.10.9908050121310.401-100000@thelab.hub.org
Whole thread Raw
In response to Re: [HACKERS] ERROR: btree scan list trashed ??  (Vadim Mikheev <vadim@krs.ru>)
Responses Re: [HACKERS] ERROR: btree scan list trashed ??
List pgsql-hackers
On Thu, 5 Aug 1999, Vadim Mikheev wrote:

> Tom Lane wrote:
> > 
> > The BTScans variable in nbtscan.c needs to be reset to NULL during
> > xact abort.  I don't see how this would *directly* cause the
> > observed symptom, but failing to do it should lead to misbehavior in
> > _bt_adjscans() during later transactions, so it might be related
> > somehow.  If you want to patch it, make a subroutine that clears the
> > variable (no need to free the list; since it's palloc'd it'll go
> > away anyway) and call it from transaction cleanup in
> > backend/access/transam/xact.c.
> 
> This should be fixed in CVS too.

Is this something that can be easily back-patched for v6.5.2?

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] ERROR: btree scan list trashed ??
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] ERROR: btree scan list trashed ??