pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build
2+ messages / 2 participants
[nested] [flat]

* BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build
@ 2015-05-18 01:07  lr@pcorp.us
  0 siblings, 1 reply; 2+ messages in thread

From: lr@pcorp.us @ 2015-05-18 01:07 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13306
Logged by:          Regina Obe
Email address:      lr@pcorp.us
PostgreSQL version: Unsupported/Unknown
Operating system:   All
Description:        

I'm not sure if this is a conditional change we need to make to our code for
9.5 (an accidental breaking), or some stuff we've been using that's
deprecated.  Our weekly build against 9.5 for upcoming PostGIS 2.2 fails to
compile.

I suspect the problem commit is this:
https://github.com/postgres/postgres/commit/1dc5ebc9077ab742079ce5dac9a6664248d42916

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:

http://trac.osgeo.org/postgis/ticket/3121


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build
@ 2015-05-18 05:04  Peter Geoghegan <pg@heroku.com>
  parent: lr@pcorp.us
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Geoghegan @ 2015-05-18 05:04 UTC (permalink / raw)
  To: lr@pcorp.us; +Cc: pgsql-bugs

On Sun, May 17, 2015 at 6:07 PM,  <lr@pcorp.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-05-18 05:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 01:07 BUG #13306: PostgreSQL 9.5 change to array type changes broke PostGIS build lr@pcorp.us
2015-05-18 05:04 ` Peter Geoghegan <pg@heroku.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox