PostGIS 1.5.2 Doesn't compile with PG 9.1Beta1

Lists: pgsql-testers
From: Noel Proffitt <noelp(at)calpacs(dot)org>
To: pgsql-testers(at)postgresql(dot)org
Subject: PostGIS 1.5.2 Doesn't compile with PG 9.1Beta1
Date: 2011-05-12 22:09:39
Message-ID: 9993758.281305238179124.JavaMail.root@calpacs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-testers

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


From: Póka Balázs <poka(at)idata(dot)hu>
To: pgsql-testers(at)postgresql(dot)org
Subject: Re: PostGIS 1.5.2 Doesn't compile with PG 9.1Beta1
Date: 2011-05-12 23:20:11
Message-ID: BANLkTimLkK7G_3E-Ln=12eg0qPcBHCpUoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-testers

Hi,

2011/5/13 Noel Proffitt <noelp(at)calpacs(dot)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