Re: Facing a problem with SPI

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
Cc: "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Facing a problem with SPI
Date: 2006-12-04 15:23:19
Message-ID: 17087.1165245799@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2006-12-04 15:32:50 Re: Facing a problem with SPI
Previous Message Timasmith 2006-12-04 15:18:44 getting index columns from information_schema?