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

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] ERROR: btree scan list trashed ??
Дата
Msg-id Pine.BSF.4.10.9908050121310.401-100000@thelab.hub.org
обсуждение исходный текст
Ответ на Re: [HACKERS] ERROR: btree scan list trashed ??  (Vadim Mikheev <vadim@krs.ru>)
Ответы Re: [HACKERS] ERROR: btree scan list trashed ??  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] ERROR: btree scan list trashed ??
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] ERROR: btree scan list trashed ??