Skip to content
Permalink
Browse files

postgres provider: reload fields if a cursor query fails (fixes #8242)

  • Loading branch information
jef-n committed Jul 10, 2013
1 parent 3b6146f commit 6f82a8983ace2587ad3ccc81609365b4c6fb34c1
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/postgres/qgspostgresfeatureiterator.cpp
@@ -326,6 +326,7 @@ bool QgsPostgresFeatureIterator::declareCursor( const QString& whereClause )
{
// reloading the fields might help next time around
rewind();
P->loadFields();
return false;
}
}

0 comments on commit 6f82a89

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