[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 00:44:27 PDT 2018


Hi,

čt 30. 8. 2018 v 16:28 odesílatel Even Rouault
<even.rouault at spatialys.com> napsal:
> With unmodified GDALVectorTranslate() it isn't really possible. So you don't

thanks for pointers.

Another option which came to my mind (untested, just a wild guess). By
PGDump driver could be prepared temporary SQL file with loaded data,
content of customization files would be appended, and this file
applied by psycopg2 as a one transaction. It's workaround but could
work out.

Martin

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


More information about the gdal-dev mailing list