Re: Facing a problem with SPI - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Facing a problem with SPI
Date
Msg-id 17087.1165245799@sss.pgh.pa.us
Whole thread Raw
In response to Re: Facing a problem with SPI  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Responses Re: Facing a problem with SPI
List pgsql-hackers
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> is the following condition always supposed to be true?
> CurrentResourceOwner==CurrentTransactionState->curTransactionOwner

No.

> If not, then we should remember the CurrentResourceOwner
> across BIST() and RARCST() calls!

As indeed the current callers of them do...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Notify enhancement
Next
From: "Gurjeet Singh"
Date:
Subject: Re: Facing a problem with SPI