[gdal-dev] Exporting triggers/constraints from PG to GPKG
jratike80
jukka.rahkonen at maanmittauslaitos.fi
Tue Dec 22 03:54:50 PST 2020
Hi,
You are right, ogr2ogr converts just the data from the table/view/query and
metadata that defines the coordinate system. I believe it would be very
hard to handle the creation of triggers and constraints and insert data in
the right order into SQLite, Oracle, MSSQL etc.
-Jukka Rahkonen-
ghtmtt wrote
> Hi all (and sorry for the flood of these days),
>
> the question is very simple: if I have triggers and/or constraint in a
> PG database, is ogr2ogr exporting them to the GPKG?
>
> At a first view it seems not (I looked in the exported GPKG and I cannot
> find the triggers and constraints). I also couldn't find any option in
> the documentation.
>
> Cheers and thanks!
>
> Matteo
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at .osgeo
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
More information about the gdal-dev
mailing list