Analyze plan of foreign data wrapper - Mailing list pgsql-general

From Mathieu PUJOL
Subject Analyze plan of foreign data wrapper
Date
Msg-id CAH_OVQFq3Nb9oNkHsqHnfbWxGPD5tu3E2gfZgZ34OzVB0_JQiA@mail.gmail.com
Whole thread Raw
Responses Re: Analyze plan of foreign data wrapper  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
Hello!
I'am writing a foreign data wrapper. To avoid returning data for a column that is not used, I parse 'targetlist' and 'qual' of the Plan.
I'am able to find Var nodes but I can't figure out how i could now if this node is related to a column my foreign table.
I guess that the field 'location' is the solution but I don't understand how to use it to retrieve target table oid and column index.
I hope someone could help me.
Thanks in advance
--
Mathieu PUJOL 
Backend Leader
Tel : 05.81.33.13.36 
REAL FUSIO - 3D Computer Graphics 
3 rue Dieudonné Costes 31700 Blagnac 
mathieu.pujol@realfusio.com - http://www.realfusio.com  

pgsql-general by date:

Previous
From: Luca Ferrari
Date:
Subject: help understanding create statistic
Next
From: Luca Ferrari
Date:
Subject: Re: plperl and plperlu language extentsions