[PostGIS] #5678: WARNING: nonstandard use of escape in a string literal

PostGIS trac at osgeo.org
Wed Feb 28 02:20:37 PST 2024


#5678: WARNING:  nonstandard use of escape in a string literal
----------------------+---------------------------
 Reporter:  strk      |      Owner:  strk
     Type:  defect    |     Status:  new
 Priority:  medium    |  Milestone:  PostGIS 3.5.0
Component:  topology  |    Version:  master
 Keywords:            |
----------------------+---------------------------
 Found in the wild:
 {{{
 psql:/woodpecker/src/git.osgeo.org/gitea/postgis/postgis/build/pg12/regress/00
 -regress-install/share/contrib/postgis/topology.sql:720: WARNING:
 nonstandard use of escape in a string literal
 LINE 12:       '\.topology_id = (\d+).*\.layer_id = (\d+).*\.type = (...
                ^
 HINT:  Use the escape string syntax for escapes, e.g., E'\r\n'.
 }}}

 Better fix before we miss.
 Maybe we should have `run_test.pl` bail out in case of WARNING during
 spatial database creation ?
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5678>
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