Skip to content
Permalink
Browse files
fix capabilities detection for postgres >=8.4
git-svn-id: http://svn.osgeo.org/qgis/trunk@14738 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 22, 2010
1 parent df92883 commit c567751
Showing 1 changed file with 1 addition and 1 deletion.
@@ -993,7 +993,7 @@ bool QgsPostgresProvider::hasSufficientPermsAndCapabilities()
"current_schema()" )
.arg( quotedValue( mQuery ) )
.arg( geometryColumn.isNull()
? QString( "" )
? QString( "'f'," )
: QString( "has_column_privilege(%1,%2,'UPDATE')," )
.arg( quotedValue( mQuery ) )
.arg( quotedValue( geometryColumn ) )

0 comments on commit c567751

Please sign in to comment.