Skip to content
Permalink
Browse files
Sort schema list in SPIT plugin. Patch provided by Horst Duester
  • Loading branch information
mhugent committed Feb 22, 2012
1 parent 083e4c7 commit b67a6f1d067ec311dc8586728ccad6a47a7b5c7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/spit/qgsspit.cpp
@@ -476,7 +476,7 @@ void QgsSpit::dbConnect()
}
}

QString schemaSql = "select nspname from pg_namespace where has_schema_privilege(nspname, 'CREATE')";
QString schemaSql = "select nspname from pg_namespace where has_schema_privilege(nspname, 'CREATE') order by nspname";
PGresult *schemas = PQexec( conn, schemaSql.toUtf8() );
// get the schema names
if ( PQresultStatus( schemas ) == PGRES_TUPLES_OK )

0 comments on commit b67a6f1

Please sign in to comment.