Re: PGXS fails to byte-compile pgsql-ogr-fdw - Mailing list pgsql-hackers

From Andres Freund
Subject Re: PGXS fails to byte-compile pgsql-ogr-fdw
Date
Msg-id 20180528191855.yp4l5dvlaafpxlcz@alap3.anarazel.de
Whole thread Raw
In response to PGXS fails to byte-compile pgsql-ogr-fdw  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
Hi,

On 2018-05-28 09:44:32 +0200, Christoph Berg wrote:
> pgsql-ogr-fdw fails to build against PG 11beta1 with JIT enabled. I
> just reported this as https://github.com/pramsey/pgsql-ogr-fdw/issues/153,
> but I think the problem might actually be in the PGXS Makefile - it
> assumes that all objects have a .c file to build the .bc from.

Not really see an alternative to that? What are you proposing?


> Another bug might be that PGXS doesn't try to inherit any preprocessor
> flags from the C compilation - the "-D USE_PG_MEM" part will be lost.

How could it? That seems to be a problem in the specific makefile, it
should adapt the proper variables rather than passing -D itself.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: PGXS fails to byte-compile pgsql-ogr-fdw
Next
From: Vik Fearing
Date:
Subject: TABLE tab completion