Skip to content

Commit 5329e67

Browse files
author
jef
committed
apply patch from #52
git-svn-id: http://svn.osgeo.org/qgis/trunk@10672 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 78d9713 commit 5329e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsdbsourceselect.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ bool QgsDbSourceSelect::getTableInfo( PGconn *pg, bool searchGeometryColumnsOnly
560560
"and pg_namespace.oid = pg_class.relnamespace "
561561
"and has_schema_privilege(pg_namespace.nspname,'usage') "
562562
"and has_table_privilege('\"'||pg_namespace.nspname||'\".\"'||pg_class.relname||'\"','select') " // user has select privilege
563-
"order by f_table_schema,f_table_name";
563+
"order by f_table_schema,f_table_name,f_geometry_column";
564564

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

0 commit comments

Comments
 (0)