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

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 03:57:44
Message-ID: 37A90BB8.BAAE700@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Vadim

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1999-08-05 04:21:50 Re: [HACKERS] ERROR: btree scan list trashed ??
Previous Message Hub.Org News Admin 1999-08-05 02:15:31