[HACKERS] Planned change of ExecRestrPos API

2005-05-15 Thread Tom Lane
I'm planning to change ExecRestrPos and the routines it calls so that an updated TupleTableSlot holding the restored-to tuple is explicitly returned. Currently, since nothing is explicitly done to the result Slot of a plan node when we restore its position, you might think that the Slot still

Re: [HACKERS] Planned change of ExecRestrPos API

2005-05-15 Thread Tom Lane
I wrote: Currently, since nothing is explicitly done to the result Slot of a plan node when we restore its position, you might think that the Slot still points at the tuple that was current just before the Restore. You'd be wrong though, at least for seqscan and indexscan plans (I haven't

Re: [HACKERS] Planned change of ExecRestrPos API

2005-05-15 Thread Simon Riggs
On Sun, 2005-05-15 at 15:09 -0400, Tom Lane wrote: I'm planning to change ExecRestrPos and the routines it calls so that an updated TupleTableSlot holding the restored-to tuple is explicitly returned. Currently, since nothing is explicitly done to the result Slot of a plan node when we