Search Postgresql Archives

Analyze plan of foreign data wrapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx - http://www.realfusio.com  

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux