[Qgis-developer] New Vector API

Martin Dobias wonder.sk at gmail.com
Mon Jan 7 14:04:10 PST 2013


On Mon, Jan 7, 2013 at 12:42 PM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
> Hi Martin,
>
> as already mentioned by Marco, there seems to be a problem with the latest
> fix. I have multiple postgres layers and after every redraw only one layer
> (random) is drawn (sometimes not even one layer).
>
> When I quit QGIS I get a segmentation fault in the postgres provider
> (QgsPostgresConn, member methods called on a NULL pointer), backtrace
> attached.

Matthias,

the latest fix should solve both problems. In the previous commit I
have removed automatic closing of postgres cursor when iterating over
features finishes and this caused that a new cursor (with the same
name) was being opened while the old one still existed.

Martin


More information about the Qgis-developer mailing list