Re: [HACKERS] ERROR: btree scan list trashed ??

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Vadim Mikheev <vadim(at)krs(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] ERROR: btree scan list trashed ??
Date: 1999-08-05 04:21:50
Message-ID: Pine.BSF.4.10.9908050121310.401-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-08-05 04:37:56 Re: [HACKERS] ERROR: btree scan list trashed ??
Previous Message Vadim Mikheev 1999-08-05 03:57:44 Re: [HACKERS] ERROR: btree scan list trashed ??