This is basically just a small variant of the option to create unique indexes. 
But it documents the intention that the specified columns is supposed to be the 
primary key. Some programs (like pg_featureserv) use this information to handle 
the primary key specially.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2289

-- Commit Summary --

  * Add option to create primary key on flex tables

-- File Changes --

    M src/flex-lua-table.cpp (5)
    M src/flex-table.cpp (9)
    M src/flex-table.hpp (6)
    M tests/bdd/flex/lua-table-definitions.feature (34)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2289.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2289.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2289
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to