Skip to content

Commit d6ef9cd

Browse files
author
jef
committedApr 28, 2009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsdbsourceselect.cpp

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.