Skip to content
Permalink
Browse files

postgres provider: fix some error messages

  • Loading branch information
jef-n committed Jul 8, 2013
1 parent 0a849be commit ca1192d078b64924cd3a7ccd18413771037f5e27
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/postgres/qgspostgresconn.cpp
@@ -794,11 +794,11 @@ PGresult *QgsPostgresConn::PQexec( QString query, bool logError )
}
else if ( logError )
{
QgsMessageLog::logMessage( tr( "Query failed: %1\nError: no result buffer" ).arg( query ) );
QgsMessageLog::logMessage( tr( "Query failed: %1\nError: no result buffer" ).arg( query ), tr( "PostGIS" ) );
}
else
{
QgsDebugMsg( tr( "Not logged query failed: %1\nError: no result buffer" ).arg( query ) );
QgsDebugMsg( QString( "Not logged query failed: %1\nError: no result buffer" ).arg( query ) );
}

return res;

0 comments on commit ca1192d

Please sign in to comment.
You can’t perform that action at this time.