RelOptInfo->reltargetlist

Started by Luca Ferrariover 18 years ago2 messages
#1Luca Ferrari
fluca1978@infinito.it

Hi all,
apologize if this is a trivial question but I'd like to understand what values
are stored in the RelOptInfo->reltargetlist or, better, how I can check such
values in the information schema to understand what they refer to. I've tried
to look in the pg_attribute table but I was not able to find a match. In other
words, how can I check what is the oid of the listcell pointing to in the
database schema?

Thanks,
Luca

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Luca Ferrari (#1)
Re: RelOptInfo->reltargetlist

Luca Ferrari <fluca1978@infinito.it> writes:

apologize if this is a trivial question but I'd like to understand what values
are stored in the RelOptInfo->reltargetlist or, better, how I can check such
values in the information schema to understand what they refer to. I've tried
to look in the pg_attribute table but I was not able to find a match. In other
words, how can I check what is the oid of the listcell pointing to in the
database schema?

That list doesn't contain OIDs ... it contains Var nodes.

regards, tom lane