[postgis-tickets] [PostGIS] #2821: Raster import fails if "raster_columns" is not readable by the user

PostGIS trac at osgeo.org
Mon Jul 7 01:52:45 PDT 2014


#2821: Raster import fails if "raster_columns" is not readable by the user
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.4
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 Raster import fails rolling back the whole transaction if the
 "raster_columns" view is not readable by the user performing the import.
 Here's the extract:

 {{{
 NOTICE:  Returned error message: permission denied for relation
 raster_columns (42501)
 CONTEXT:  PL/pgSQL function
 _add_overview_constraint(name,name,name,name,name,name,integer) line 24 at
 RETURN
 PL/pgSQL function
 addoverviewconstraints(name,name,name,name,name,name,integer) line 61 at
 assignment
 ERROR:  Unable to add the overview constraint.  Is the schema name, table
 name or column name incorrect?
 }}}

 Dunno why it select privileges should be granted for an import. If they
 are really needed the error message should contain the actual problem
 (currently only shown by the NOTICE)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2821>
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