Accessing RelOptInfo structure from the executor module

Started by Shalu Guptaover 21 years ago2 messages
#1Shalu Gupta
sgupta5@unity.ncsu.edu

Hello,

I am trying to work with the Postgresql-7.3.4 and can you
please help me with it.
I have the following problem:
I want to access the RelOptInfo data structure from the executor module.
Basically I have added a flag to the RelOptInfo data structure and at
the
time of execution I want to check the flag but I got lost after the path
selection. I am unable to access the RelOptInfo in the execution
module.

Can you please help me out with this.

Your help will be appreciated,

Sincerely,
Shalu Gupta
NC State University,
Raleigh , NC

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Shalu Gupta (#1)
Re: Accessing RelOptInfo structure from the executor module

Shalu Gupta <sgupta5@unity.ncsu.edu> writes:

I want to access the RelOptInfo data structure from the executor module.

You can't, because it doesn't exist any more. RelOptInfo is a planner
internal data structure, and is probably pfree'd before the executor starts.

Perhaps you could explain your problem at a higher level?

regards, tom lane