Opened 3 months ago

Closed 3 months ago

#5767 closed defect (fixed)

3.2 branch does not build against PG16: error: too few arguments to function ‘get_guc_variables’

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.2.8
Component: build Version: 3.2.x
Keywords: Cc:

Description

As of commit [2aafd23999b58bd85bcc0f9cb5651404a8c72492/git]

This is what I get:

lwgeom_pg.c:521:27: error: too few arguments to function ‘get_guc_variables’
  521 |                  (void *) get_guc_variables(),
      |                           ^~~~~~~~~~~~~~~~~

It surprised me given #5756 talks about PG17 support for stable branches...

Change History (2)

comment:1 by robe, 3 months ago

This support was only carried for PostGIS 3.3 and 3.4.

We should put a configure check that 3.2 is not supported on PG 16.

Already documented in See the matrix - https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS

and the docs - https://postgis.net/docs/manual-3.2/postgis_installation.html#install_requirements

comment:2 by Regina Obe <lr@…>, 3 months ago

Resolution: fixed
Status: newclosed

In 9109398/git:

Throw an error if trying to configure with
PostgreSQL greater than 15
Closes #5767 for PostGIS 3.2.8

Note: See TracTickets for help on using tickets.