[PostGIS] #5965: PG19 compile is spitting out warnings about PG_GSERIALIZED_DATUM_NEEDS_DETOAST

PostGIS trac at osgeo.org
Sun Sep 7 10:30:30 PDT 2025


#5965: PG19 compile is spitting out warnings about
PG_GSERIALIZED_DATUM_NEEDS_DETOAST
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.7.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by Laurenz Albe):

 The cause for the problem is [https://postgr.es/c/2a600a93c7 PostgreSQL
 commit 2a600a93c7], which changed the data type of `Datum` from
 `uintptr_t` to `uint64_t`.

 So it is no longer safe to assume that a `Datum` is a pointer, and you
 have to use `DatumGetPointer()` in all the places that did.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5965#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