Re: Regarding identifying a foreign scan - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Regarding identifying a foreign scan
Date
Msg-id CAHyXU0wsh-PY2Z=8mZ8wmzyKW1TDfo6ogi0UwQvB-NUaVQ3G8g@mail.gmail.com
Whole thread Raw
In response to Re: Regarding identifying a foreign scan  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Oct 7, 2012 at 10:29 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Atri Sharma <atri.jiit@gmail.com> writes:
>> Does that mean that using (some) global storage is the cause of the problem?
>
> If you're using global storage for state that needs to be replicated
> per-scan, yes, probably.  But it's hard to be sure when you're being
> so vague about what you're doing.

yeah -- the problem here is that Atri is not using
ForeignScanState->fdw_state properly for storage (this in jdbc-fdw).
I think he knows what to do -- he's going to fix it up.

merlin



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: sortsupport for text
Next
From: Andrew Dunstan
Date:
Subject: odd alter_generic regression failures