[postgis-devel] [PostGIS] #205: Non-standard use of literal

PostGIS trac at osgeo.org
Tue Jun 23 06:15:21 PDT 2009


#205: Non-standard use of literal
-----------------------+----------------------------------------------------
 Reporter:  robe       |       Owner:  pracine
     Type:  defect     |      Status:  new    
 Priority:  medium     |   Milestone:         
Component:  wktraster  |     Version:  trunk  
 Keywords:             |  
-----------------------+----------------------------------------------------
 This is when deploying against 8.4RC1.  8.4 changed so they flag non-
 standard use in RAISE notices.

 So I get this notice

 NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
 "raster_columns_pk" for table "raster_columns"
 WARNING:  nonstandard use of \' in a string literal

 I think its in your DropRasterColumn
 this line
 RAISE EXCEPTION 'column \'%\' not found in raster_columns table',
 column_name;

 probably just need to change to

 RAISE EXCEPTION 'column ''%'' not found in raster_columns table',
 column_name;

 See #190

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/205>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list