Re: BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: lr(at)pcorp(dot)us
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build
Date: 2015-05-18 05:04:02
Message-ID: CAM3SWZQVbXt4Z8+fd-8yUCTyY_MMqbOvi-N_g3Np47VDunpDZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, May 17, 2015 at 6:07 PM, <lr(at)pcorp(dot)us> wrote:
> I suspect the problem commit is this:
> https://github.com/postgres/postgres/commit/1dc5ebc9077ab742079ce5dac9a6664248d42916

Looks like commit 13dbc7a8 to me.

> compilation error we get is:
> /lib/jenkins/workspace/pg/rel/pg9.5w64/include/postgresql/internal
> -D_GNU_SOURCE -c -o lwgeom_inout.o lwgeom_inout.c
> lwgeom_inout.c: In function ‘TWKBFromLWGEOMArray’:
> lwgeom_inout.c:538: error: too few arguments to function
> ‘array_create_iterator’
> lwgeom_inout.c:539: error: too few arguments to function
> ‘array_create_iterator’
> make[1]: *** [lwgeom_inout.o] Error 1
> make[1]: Leaving directory
> `/var/lib/jenkins/workspace/postgis/regress_pgdev/branches/2.2/postgis'
>
> Related postgis ticket is here:

It is safe to just add a third argument to that function call, NULL.
That's all that was done for the array_create_iterator() call in
pl_exec.c by commit 13dbc7a8.

--
Peter Geoghegan

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message s.rama194 2015-05-18 05:23:43 BUG #13307: Increasing space
Previous Message lr 2015-05-18 01:07:19 BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build