[gdal-dev] PG driver: apply custom sql files together with loading data in one transaction

Martin Landa landa.martin at gmail.com
Fri Aug 31 01:20:49 PDT 2018


Hi,

čt 30. 8. 2018 v 16:28 odesílatel Even Rouault
<even.rouault at spatialys.com> napsal:
> API by yourself to do ogr2ogr-like ingestion, and then ExecuteSQL() for your
> customizations.

great, first tests with ExecuteSQL(fd.read()) went well. Unfortunately
the method returns always None regardless of success or failure. Is
there any way how to catch up errors when executing SQL commands by
ExecuteSQL()?

Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list