Skip to content

Commit 5b69653

Browse files
author
jef
committed
fix capabilities detection for postgres >=8.4
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14738 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent de757d2 commit 5b69653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ bool QgsPostgresProvider::hasSufficientPermsAndCapabilities()
993993
"current_schema()" )
994994
.arg( quotedValue( mQuery ) )
995995
.arg( geometryColumn.isNull()
996-
? QString( "" )
996+
? QString( "'f'," )
997997
: QString( "has_column_privilege(%1,%2,'UPDATE')," )
998998
.arg( quotedValue( mQuery ) )
999999
.arg( quotedValue( geometryColumn ) )

0 commit comments

Comments
 (0)