When installing pljava-1.5.1-snapshot on postgresql 10b2 I get
undefined symbol: DatumGetFloat8 when executing
create extension pljava;
Works for me on postgres96.
Is there an issue installing pljava on the upcomming postgresql version? Can somebody please point me to the right direction?
Thanks in advance Peter
Thanks for the report. This was not a known issue against 10b1. I'll see if I can reproduce it with 10b2.
Edit: works fine for me with 10b2. Is there any chance that the PL/Java build you are trying to use with your PG 10b2 installation was actually built against a PG version < 10? If you did the build yourself and you had more than one PG version available, Maven will have built against the one whose
pg_configexecutable was found first on the search path ... though you can also use-Dpgsql.pgconfig=on themvncommand line to force building against a specific version (by pointing to thepg_configexecutable in that version'sbindirectory).PostgreSQL upstream changed
DatumGetFloat8from an external function to an inlined one for PG 10, so if you happened to build PL/Java against an older PG version, it would still be trying to link an externalDatumGetFloat8that, in PG 10, isn't there any more.Edit: by the way, I would recommend building and using
1.5.1-BETA1instead of1.5.1-SNAPSHOTat this stage, so that once1.5.1is released, you will be able to move from1.5.1-BETA1to1.5.1with a simpleALTER EXTENSION ... UPDATE. From a snapshot version,ALTER EXTENSIONwill not know how to update.