[QGIS Commit] r14738 - trunk/qgis/src/providers/postgres

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Nov 22 13:53:12 EST 2010


Author: jef
Date: 2010-11-22 10:53:12 -0800 (Mon, 22 Nov 2010)
New Revision: 14738

Modified:
   trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
Log:
fix capabilities detection for postgres >=8.4

Modified: trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
===================================================================
--- trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp	2010-11-22 15:21:55 UTC (rev 14737)
+++ trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp	2010-11-22 18:53:12 UTC (rev 14738)
@@ -993,7 +993,7 @@
                      "current_schema()" )
             .arg( quotedValue( mQuery ) )
             .arg( geometryColumn.isNull()
-                  ? QString( "" )
+                  ? QString( "'f'," )
                   : QString( "has_column_privilege(%1,%2,'UPDATE')," )
                   .arg( quotedValue( mQuery ) )
                   .arg( quotedValue( geometryColumn ) )



More information about the QGIS-commit mailing list