[PostGIS] #6036: Use PG_MODULE_MAGIC_EXT for Pg18+

PostGIS trac at osgeo.org
Fri Jan 16 14:52:32 PST 2026


#6036: Use PG_MODULE_MAGIC_EXT for Pg18+
--------------------------+---------------------------
  Reporter:  pramsey      |      Owner:  pramsey
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 3.7.0
 Component:  postgis      |    Version:  master
Resolution:  fixed        |   Keywords:
--------------------------+---------------------------
Changes (by Paul Ramsey <pramsey@…>):

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

Comment:

 In [changeset:"c460d6928c131cc0ae973200afacfa8c47cc4953/git" c460d69/git]:
 {{{#!CommitTicketReference repository="git"
 revision="c460d6928c131cc0ae973200afacfa8c47cc4953"
 Add use of PG_MODULE_MAGIC_EXT for pg>=18

 Allows server to poll the version and extension name from the
 dynamically loaded library. Potentially could perform the
 same scripts-vs-libs version check we do, but on all
 extensions. Automatic update, could we have?

 Closes #6036
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6036#comment:2>
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