Hi all and happy new year!

as suggested some days ago [0] I've set up a vrt file that I use to export many tables from a gpkg to a PG.

In the PG DB there are some constraints and with the vrt files all works as expected: if an error (like a wrong value caught by the constraint) a total rollback is made and nothing is written in the PG DB.

But what if I've more than one single error on the gpkg? It seems (to me) that when ogr2ogr identifies the first error the process is stopped.

Is there a way to list ALL the (possible) errors of a single transaction (like a dry run)?

Cheers and thanks for any hint

Matteo


[0] https://lists.osgeo.org/pipermail/gdal-dev/2020-December/053209.html
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to