python-postgres / be

pg-python: Execute Python 3 code from PostgreSQL functions.
Other
5 stars 2 forks source link

Add FDW Support #30

Open jwp opened 12 years ago

jwp commented 12 years ago

Implement FDW support. Use function name protocols to embed the module reference of the implementation in the FDW handler/validator function.

jwp commented 10 years ago

This is a bit problematic as it's difficult to attack this problem as pg-python attacks other problems. Creating a Python interface to the Node structures would appear to require one-off support for each type. Being able to generate the interface is extremely desirable as compensating for Node changes across major versions will be cumbersome. So far, the best way to approach this problem is to use llvm/clang to parse the C code and analyze the structures. This will not be a portable operation, so performing it at compile time will not be appropriate.