EnterpriseDB / mongo_fdw

PostgreSQL foreign data wrapper for MongoDB
GNU Lesser General Public License v3.0
326 stars 70 forks source link

PostgreSQL 12 support #128

Closed devrimgunduz closed 2 years ago

devrimgunduz commented 5 years ago

Hi,

PostgreSQL 12 will be released next week, and mongo_fdw fails to build against v12. Can you please take a look and fix? We need the RPMs soon.

Thanks, Devrim


gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC --std=c99 -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0  -Ijson-c -DMETA_DRIVER -I. -I./ -I/usr/pgsql-12/include/server -I/usr/pgsql-12/include/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include  -c -o connection.o connection.c
In file included from mongo_wrapper.h:21,
                 from connection.c:21:
mongo_fdw.h:36:10: fatal error: nodes/relation.h: No such file or directory
   36 | #include "nodes/relation.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: connection
Belorus commented 4 years ago

https://github.com/EnterpriseDB/mongo_fdw/releases/tag/REL-5_2_5

dadhi commented 4 years ago

https://github.com/EnterpriseDB/mongo_fdw/releases/tag/REL-5_2_5

Does it mean it is a stable release or anything else is planned?

Linking the issue I found with the current "release": #133