Thread: PostGIS 1.5.2 Doesn't compile with PG 9.1Beta1

PostGIS 1.5.2 Doesn't compile with PG 9.1Beta1

From
Noel Proffitt
Date:
As of PG9.1Beta1, PostGIS 1.5.2, the current stable version, will not compile due to an added argument to
InitFunctionCallInfoData.

PostGIS 2.0 under development, includes a fix for this but will not be released for some time.
-Noel

Re: PostGIS 1.5.2 Doesn't compile with PG 9.1Beta1

From
Póka Balázs
Date:
Hi,

2011/5/13 Noel Proffitt <noelp@calpacs.org>:
> As of PG9.1Beta1, PostGIS 1.5.2, the current stable version, will not compile due to an added argument to
> InitFunctionCallInfoData.

I bumped into this problem earlier. I made a simple modification to
the only line which contains this call (lwgeom_accum.c:306), and
changed it to:

InitFunctionCallInfoData(fcinfo, NULL, 1, InvalidOid, NULL, NULL);

It compiles, and seems to work. Nevertheless, expert advice is welcome.

regards,
Balázs Póka