-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.0.6 does not compile 9.2- #43
Comments
Thanks for the bug report! Our new Jenkins instance only has automated builds for PostgreSQL 9.3+, so it's possible that it's broken on PostgreSQL 9.2. I'll test it out manually. |
Well I think the reason for the issue is here: 2012-08-30 Alvaro Herrera Split tuple struct defs from htup.h to htup_details.h |
This commit added the dependency on htup_details.h in tds_fdw: I'll try adding some preprocessor macros to include htup.h instead of htup_details.h for 9.2 and below to see if that is enough to fix the problem. Thanks for pointing out the source of the issue. |
…up_details.h was added in PostgreSQL 9.3. Added preprocessor macros to use htup.h instead in earlier versions.
I just committed a fix that seems to work on PostgreSQL 9.2 and 9.5: fc002c3 |
Confirmed on 9.2.14. |
Good news, 9.2 (9.2.14) for both Ubuntu and CentOS is now added to the CI. @GeoffMontee I moved tds_fdw-build-ng to tds_fdw-build, so we don't get those false errors regarding timeouts for some versions when the DB engines are starting slower than expected. Let me know if we need to add more versions and I'll see what I can do. |
Awesome! Thanks for making those changes to the Jenkins CI server, @juliogonzalez! |
Per this thread on pgsql-general:
http://www.postgresql.org/message-id/2A9DC32516465540A0B1D37D25D6EF9A04149BEE4E@FHDP1LUMXC7V12.us.one.verizon.com
aklaver@panda:~/test/tds_fdw> PATH=/usr/local/pgsql92/bin:$PATH make USE_PGXS=1
cp sql/tds_fdw.sql sql/tds_fdw--1.0.6.sql
cp README.md README.tds_fdw.md
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fpic -I./include/ -I. -I. -I/usr/local/pgsql92/include/server -I/usr/local/pgsql92/include/internal -D_GNU_SOURCE -c -o src/tds_fdw.o src/tds_fdw.c
src/tds_fdw.c:30:33: fatal error: access/htup_details.h: No such file or directory
#include "access/htup_details.h"
^
compilation terminated.
: recipe for target 'src/tds_fdw.o' failed
The text was updated successfully, but these errors were encountered: