In file included from ../../../../src/include/c.h:55, from ../../../../src/include/postgres.h:46, from guc.c:17: ../../../../src/include/pg_config_manual.h:200:31: error: called object is not a function or function pointer #define DEFAULT_PGSOCKET_DIR "/var/run/postgresql" ^~~~~~~~~~~~~~~~~~~~~ guc.c:4064:3: note: in expansion of macro 'DEFAULT_PGSOCKET_DIR' DEFAULT_PGSOCKET_DIR ", /tmp" ^~~~~~~~~~~~~~~~~~~~ make[4]: *** [<builtin>: guc.o] Error 1
That is just weird. Could it be a compiler bug? I assume you're using some bleeding-edge gcc version, and it's really hard to see another reason why this would fail, especially with a nonsensical error like that.
regards, tom lane
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.