[gdal-dev] GPKG to PostgreSQL, version 2.2.3 vs version 3.0.2

Ari Jolma ari.jolma at gmail.com
Fri Apr 10 00:07:20 PDT 2020


Ari Jolma kirjoitti 10.4.2020 klo 9.54:
> This seems to be the case. v 3.0.2 sends
>
> SELECT setval(pg_get_serial_sequence('"stand"', 'id'), MAX("id") FROM 
> "stand";
>
> and similar for other tables but v 2.2.3 does not.


The fix was committed 9 Sep 2017 as a fix to #7032 to versions 2.3 and 
up but not to 2.2, which is what one still gets by default in ubuntu 18.04.

Probably a quick fix would be to issue those sequence update commands 
after all data load commands.

Ari




More information about the gdal-dev mailing list