[postgis-tickets] [PostGIS] #5257: PG16 doesn't load against 3.4.0 (master)

PostGIS trac at osgeo.org
Sun Oct 9 20:34:59 PDT 2022


#5257: PG16 doesn't load against 3.4.0 (master)
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  assigned
  Priority:  blocker  |  Milestone:  PostGIS 3.4.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:  PG16
----------------------+---------------------------
Comment (by robe):

 Smoking commit -
 https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=9543eff5e015b6f6f832da2d95d659629a2022f3


 {{{
 Remove MemoryContextContains().

 MemoryContextContains is no longer reliable in the wake of c6e0fe1f2,
 because there's no longer very much redundancy in chunk headers.
 (It wasn't *completely* reliable even before that, as there was a
 chance of a false positive if you passed it something that didn't
 point to an mcxt chunk at all.  But it was generally good enough.)

 Hence, remove it.  There is no remaining core code that requires it.
 Extensions that have been using it might be able to substitute a
 test like "GetMemoryChunkContext(ptr) == context", recognizing that
 this explicitly requires that the pointer point to some chunk.

 Tom Lane and David Rowley
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5257#comment:1>
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