[postgis-tickets] [PostGIS] #3867: Can't load against PostgreSQL 11 head DatumGetJsonb renamed

PostGIS trac at osgeo.org
Sat Sep 30 09:48:12 PDT 2017


#3867: Can't load against PostgreSQL 11 head DatumGetJsonb renamed
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.4.1
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 I haven't backported this yet because strk said he wanted to define it as
 a macro for pre-11 versions and then call the macro instead of the if-def
 clauses everywhere we need them.

 pramsey you okay with that?  For 2.4.1 I want to just go with the IF-Def
 as done above since we aren't going to be augmenting that and I hate
 indirection code that is only used in one place.

 We don't use ranges yet and I think JSONB is the only one at issue here.
 For 2.5 main benefit I see to having it as a macro is that if we do use
 JSONB in other areas of our code (which sounds likely) -- e.g. we create a
 ST_AsGeoJSON that can take an anyelement and return a fully qualified
 jsonb object, then having this isolated to the macro would be nice.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3867#comment:5>
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