Hi all (again, sorry for the flooding),

for some reasons I have to export many tables (not all) from a GPKG to a PG database.

I can do it easily with a loop, but I need ogr2ogr to do it in a single transaction. That's because even if the first N tables are correctly imported, at the first error I need a total rollback without importing anything in PG.

The "problem" is that I have to specify some parameter in ogr2ogr (e.g. -nln) for each table to import.

I hope I made myself clear

Cheers and thanks

Matteo
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to