[gdal-dev] List all the (possible) errors of a single transaction
matteo
matteo.ghetta at gmail.com
Thu Jan 7 02:20:37 PST 2021
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
More information about the gdal-dev
mailing list