Skip to content

Commit db01e7b

Browse files
committedJan 27, 2012
postgres provider: reload fields when columns disappear
1 parent f749a5e commit db01e7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ bool QgsPostgresProvider::declareCursor(
312312
}
313313
catch ( PGFieldNotFound )
314314
{
315+
rewind();
315316
return false;
316317
}
317318

0 commit comments

Comments
 (0)
Please sign in to comment.