After installing Postgresql 9.3 on an Ubuntu 12.04 server (using the packages from postgresql.org's repository), I receive the following errors upon running make (after running make clean, export USE_PGXS=1):
src/serialize_quals.c: In function ‘serialize_node_with_children_callback_json’:
src/serialize_quals.c:92:2: error: expected expression before ‘do’
This error is thrown in several locations in serialize_quals.c where d(...) is called. I confirmed that I can downgrade to Postgresql 9.2 and successfully recompile www_fdw for it. Any thoughts?
d() - macros.
Looks like it was changed in new version.
You can:
compile without DEBUG option
or change it in src/utils.h:
-#define d(...) (elog(DEBUG1, WHERESTR, WHEREARG), elog(DEBUG1, VA_ARGS))
+#define d(...)
to have it empty any way.
And check if other things would work.
After installing Postgresql 9.3 on an Ubuntu 12.04 server (using the packages from postgresql.org's repository), I receive the following errors upon running
make
(after runningmake clean
,export USE_PGXS=1
):This error is thrown in several locations in serialize_quals.c where
d(...)
is called. I confirmed that I can downgrade to Postgresql 9.2 and successfully recompile www_fdw for it. Any thoughts?