[postgis-tickets] [PostGIS] #4919: SQL reliably crashes Server
PostGIS
trac at osgeo.org
Tue May 18 17:56:19 PDT 2021
#4919: SQL reliably crashes Server
----------------------+---------------------------
Reporter: Robins | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.1.2
Component: postgis | Version: 3.0.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by Robins):
Looking at `slicelength=slicelength at entry=40`, it seems that PostGIS
defaults to fetching 40 bytes from detoast_attr_slice() which is probably
unnecessary in this case.
{{{
/*
** The most info we need is the 8 bytes of serialized header plus
the 32 bytes
** of floats necessary to hold the 8 floats of the largest XYZM
index
** bounding box, so 40 bytes.
*/
gpart = (GSERIALIZED*)PG_DETOAST_DATUM_SLICE(gsdatum, 0, 40);
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4919#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