Re: [HACKERS] Re: [BUGS] NOTICE:AbortTransaction and not in in-progress state - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Re: [BUGS] NOTICE:AbortTransaction and not in in-progress state
Date
Msg-id 35836F33.ADA97C9B@krs.ru
Whole thread Raw
In response to Re: [BUGS] NOTICE:AbortTransaction and not in in-progress state  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
>
> Index: src/backend/catalog/heap.c
> ===================================================================
> ***************
> *** 1375,1380 ****
> --- 1370,1376 ----
>         rdesc->rd_tmpunlinked = TRUE;
>         heap_close(rdesc);
>         RemoveFromTempRelList(rdesc);
> +       RelationForgetRelation(rdesc->rd_id);

We need not in RelationForgetRelation() in heap_destroy().
Local relations are handled in other way...

Vadim

pgsql-hackers by date:

Previous
From: Brett McCormick
Date:
Subject: Re: [HACKERS] Re: [BUGS] NOTICE:AbortTransaction and not in in-progress state
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: Odd behavior in regression test?