heimir-sverrisson / jdbc2_fdw

JDBC Foreign Data Wrapper for PostgreSQL
25 stars 16 forks source link

Support PostgreSQL 9.5 #1

Open mc-soi opened 8 years ago

mc-soi commented 8 years ago

See https://gist.github.com/mc-soi/7201e5627573646b4f60 for my patch. The postgresPlanForeignModify code came from the postgresql_fdw code: http://doxygen.postgresql.org/postgres__fdw_8c.html#a64110f3b69e0af04ed7b8b614918c9c9

Some of the FDW API changes were in this commit: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1a8a4e5cde2b7755e11bde2ea7897bd650622d3e#patch14

So far, I have only tested that it compiles and selects run.

dbh commented 7 years ago

I'm working a jdbc2_fdw version for postgresql 9.5 , in progress at link below. It incorporates mc-soi's patch and has additional fixes. I was able to compile, attach to a SQL Server via JDBC, create a foreign table, and retrieve data from it in PG95 using this, so far. Will work with maintainer of this repo once I'm confident it is working to a greater extent.

https://github.com/dbh/jdbc2_fdw/tree/update/pg95