Обсуждение: Accessing RelOptInfo structure from the executor module

Поиск
Список
Период
Сортировка

Accessing RelOptInfo structure from the executor module

От
Shalu Gupta
Дата:

 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


Re: Accessing RelOptInfo structure from the executor module

От
Tom Lane
Дата:
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