CartoDB / odbc_fdw

PostgreSQL Foreign-data Wrapper for ODBC
Other
67 stars 22 forks source link

Doesn't compile against PostgreSQL 12 #103

Closed robe2 closed 4 years ago

robe2 commented 4 years ago

Context

Please explain here below what you were doing when the issue happened

Compiling against PostgreSQL 12

Steps to Reproduce

Please break down here below all the needed steps to reproduce the issue

When compiling against PostgreSQL 12 development I fails to compile

Current Result

Please describe here below the current result you got

odbc_fdw.o: In function odbcBeginForeignScan': C:\projects\sources\odbc_fdw/odbc_fdw.c:1359: undefined reference toheap_open' C:\projects\sources\odbc_fdw/odbc_fdw.c:1394: undefined reference to heap_close' odbc_fdw.o: In functionodbcIterateForeignScan': C:\projects\sources\odbc_fdw/odbc_fdw.c:1758: undefined reference to `ExecStoreTuple' collect2.exe: error: ld returned 1 exit status make: *** [C:/MING64~1/projects/POSTGR~1/rel/PG12W6~2/lib/pgxs/src/MAKEFI~1/../../src/Makefile.shlib:386: odbc_fdw.dll] Error 1

Expected result

Please describe here below what should be the expected behaviour I get an extension binary

Additional info

Please add any information of interest here below I'll try to patch to see if I can get to work with PostgresQL 12

robe2 commented 4 years ago

Thanks @Algunenano for fixing.