[postgis-tickets] [PostGIS] #1678: [raster] GDAL_DATA dependency

PostGIS trac at osgeo.org
Wed Nov 6 12:40:28 PST 2013


#1678: [raster] GDAL_DATA dependency
---------------------+------------------------------------------------------
  Reporter:  robe    |       Owner:  pracine      
      Type:  defect  |      Status:  closed       
  Priority:  medium  |   Milestone:  PostGIS 2.2.0
 Component:  raster  |     Version:  trunk        
Resolution:  fixed   |    Keywords:  history      
---------------------+------------------------------------------------------

Comment(by edechaux):

 I know but backporting to 2.1 is very easy and postgis version not
 significant here.

 The issue is that postgresql parser does not handle two dots in a GUC
 parameter. From postgresql 9.2.4 sources in '''src/backend/utils/misc/guc-
 file.l''' :

 {{{
                 /* first token on line is option name */
                 if (token != GUC_ID && token != GUC_QUALIFIED_ID)
                         goto parse_error;
 }}}

 and


 {{{
 LETTER                  [A-Za-z_\200-\377]
 LETTER_OR_DIGIT [A-Za-z_0-9\200-\377]

 ID                              {LETTER}{LETTER_OR_DIGIT}*
 QUALIFIED_ID    {ID}"."{ID}

 [...]

 {ID}                    return GUC_ID;
 {QUALIFIED_ID}  return GUC_QUALIFIED_ID;
 }}}

 So the only dot a custom parameter should use is the one spliting the
 module identifier and name of the parameter, as seen
 [http://www.postgresql.org/docs/9.2/static/runtime-config-custom.html
 here].

 Please reconsider reopening this ticket.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1678#comment:21>
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