[postgis-tickets] [PostGIS] #3946: PostgreSQL 11 head no longer compiles against PostGIS trunk

PostGIS trac at osgeo.org
Tue Dec 19 06:47:41 PST 2017


#3946: PostgreSQL 11 head no longer compiles against PostGIS trunk
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.5.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 Two options I can see:

 * Keep using memory context callbacks, but do so by creating a
 `AllocSetContext` in the current transaction context, and then reaching
 into it, over-riding it's delete callback and replacing it with our own,
 that first does the memory/cache cleaning we want and then calls the
 original delete function
 * Figuring out if we can use a system hook, like `ExecutorFinish_hook` or
 `ExecutorEnd_hook` to callback. This might not work as well, since we keep
 the cache for a long time and use the memory context trick to know which
 cache entry was associated with which callback. Might need a new trick for
 that too.

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