Skip to content
Permalink
Browse files

apply patch from #52

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10672 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Apr 28, 2009
1 parent d0d2da1 commit d6ef9cd096ae3709e5f300fbe598c338d3bcc3fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsdbsourceselect.cpp
@@ -560,7 +560,7 @@ bool QgsDbSourceSelect::getTableInfo( PGconn *pg, bool searchGeometryColumnsOnly
"and pg_namespace.oid = pg_class.relnamespace "
"and has_schema_privilege(pg_namespace.nspname,'usage') "
"and has_table_privilege('\"'||pg_namespace.nspname||'\".\"'||pg_class.relname||'\"','select') " // user has select privilege
"order by f_table_schema,f_table_name";
"order by f_table_schema,f_table_name,f_geometry_column";

PGresult *result = PQexec( pg, sql.toUtf8() );
if ( result )

0 comments on commit d6ef9cd

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