Re: [HACKERS] FDW state from plan time

2011-04-04 Thread Dave Page
On Sun, Apr 3, 2011 at 7:05 PM, Heikki Linnakangas wrote: > On 03.04.2011 19:38, Tom Lane wrote: >> >> Dave Page  writes: >>> >>> I can't help thinking I must be missing something obvious here, but is >>> there any way to persist some data from PlanForeignScan to at least >>> BeginForeignScan in a

Re: [HACKERS] FDW state from plan time

2011-04-04 Thread Dave Page
On Sun, Apr 3, 2011 at 5:38 PM, Tom Lane wrote: > Dave Page writes: >> I can't help thinking I must be missing something obvious here, but is >> there any way to persist some data from PlanForeignScan to at least >> BeginForeignScan in an FDW? I'm aware of fdwplan->fdw_private, but at >> that nee

Re: [HACKERS] FDW state from plan time

2011-04-03 Thread Heikki Linnakangas
On 03.04.2011 19:38, Tom Lane wrote: Dave Page writes: I can't help thinking I must be missing something obvious here, but is there any way to persist some data from PlanForeignScan to at least BeginForeignScan in an FDW? I'm aware of fdwplan->fdw_private, but at that needs to be copyObject com

Re: [HACKERS] FDW state from plan time

2011-04-03 Thread Tom Lane
Dave Page writes: > I can't help thinking I must be missing something obvious here, but is > there any way to persist some data from PlanForeignScan to at least > BeginForeignScan in an FDW? I'm aware of fdwplan->fdw_private, but at > that needs to be copyObject compatible, it's not much use to me

[HACKERS] FDW state from plan time

2011-04-03 Thread Dave Page
Hi, I can't help thinking I must be missing something obvious here, but is there any way to persist some data from PlanForeignScan to at least BeginForeignScan in an FDW? I'm aware of fdwplan->fdw_private, but at that needs to be copyObject compatible, it's not much use to me. The issue I have is