[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add option to create primary key on flex tables (PR #2289)

Jochen Topf notifications at github.com
Mon Jan 13 08:08:59 UTC 2025


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/2289 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250113/28e91b3a/attachment.htm>


More information about the Tile-serving mailing list