[postgis-tickets] [PostGIS] #5261: PostgreSQL 16 GUC changes breaks compile, removal of Abs breaks compile

PostGIS trac at osgeo.org
Thu Oct 20 21:23:30 PDT 2022


#5261: PostgreSQL 16 GUC changes breaks compile, removal of Abs breaks compile
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  closed
  Priority:  blocker  |  Milestone:  PostGIS 3.4.0
 Component:  postgis  |    Version:  master
Resolution:  fixed    |   Keywords:  PG16
----------------------+---------------------------
Changes (by Regina Obe <lr@…>):

 * status:  new => closed
 * resolution:   => fixed

Comment:

 In [changeset:"1e96c9214ef814260d1d66247b3ffbde7a019b45/git" 1e96c92/git]:
 {{{#!CommitTicketReference repository="git"
 revision="1e96c9214ef814260d1d66247b3ffbde7a019b45"
 FIX compile against PostgreSQL 16
 1) get_guc_variables() function now requires number variables reference.
 Change to not use this function at all and replace with find_option,
 which does much the same but with less code

 2) Abs function removed in PG16.  As noted in Discussion:
 https://www.postgresql.org/message-id/flat/4beb42b5-216b-
 bce8-d452-d924d5794c63%40enterprisedb.com
 We should be using C lib abs or fabs.  Replaced this left over use with
 fabs, which we are already using elsewhere

 Closes #5261 for PostGIS 3.4.0
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5261#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list