Thanks, that helps. I can get table and column info from the catalog now.
What is the recommended way (structs to access via one of the scan/modify callbacks?) to retrieve the column, operation and value, "col", "=" and "val" in this example. And is the same method used for both queries and updates?
select * from table where col=val
A lot of the FDW examples seem to use table options, which isn't quite what we need. We are going for more of a mapping between tables in different DBs.
Thanks,