[postgis-devel] [PostGIS] #762: [raster] Raster some check fails

PostGIS trac at osgeo.org
Fri Apr 1 01:19:39 PDT 2011

#762: [raster] Raster some check fails
 Reporter:  aperi2007       |       Owner:  jorgearevalo 
     Type:  defect          |      Status:  assigned     
 Priority:  blocker         |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
Changes (by jorgearevalo):

  * status:  new => assigned


 Raster test infrastructure ported to general test infrastructure, in the
 same way topology did it. Anyway, I have a doubt I'd like to solve before
 closing the ticket:

 Core run_test forces --no-psqlrc. So, if my .psqlrc sets
 min_client_messages to debug, run_test will avoid it. But executing
 configure --enable-debug makes tests fail because too much debug
 information sent from server. Not only raster tests.

 So, I think there's a confussion here, or I'm wrong. Correct me if so:

 - On one hand, run_test avoid user defined log level. This is, at client
 level (modifying psql call parameters).[[BR]]
 - On the other hand, you can specify "--enable-debug" when you compile
 PostGIS. This will enable debug messages at server level (log messages
 sent by postgres backend when executing PostGIS tests). If you specify
 this option, tests will fail, because run_test only controls client debug
 level, not server debug level (obviuosly, because it's using psql

 So, this shouldn't be a defect. It's normal. If I'm not wrong...

 May I close the ticket?

Ticket URL: <http://trac.osgeo.org/postgis/ticket/762#comment:12>
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-devel mailing list