[PostGIS] #5697: fix or document id escaping for ST_EstimatedExtent params

PostGIS trac at osgeo.org
Sat Mar 16 00:31:42 PDT 2024


#5697: fix or document id escaping for ST_EstimatedExtent params
----------------------+---------------------------
  Reporter:  nyurik   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.4.3
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by nyurik):

 Testing the above, this query works:

 {{{
 SELECT "' id '", ".namE ", ". '""Geom"""
 FROM """Quotes' and Space.Dot.".". Points"" 'quote";
 }}}

 This one does not:

 {{{
 SELECT ST_EstimatedExtent(
                '"""Quotes'' and Space.Dot."',
                '". Points"" ''quote"',
                '". ''""Geom"""'
        );
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5697#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