[Tile-serving] [openstreetmap/osm2pgsql] Only create create_only columns in final table (#1525)
Jochen Topf
notifications at github.com
Tue Jun 8 19:50:25 UTC 2021
The flex output supports "create_only" table columns which are only
created but not filled with any data. This can lead to problems in some
cases (for instance when a column of type SERIAL is used) because
osm2pgsql usually creates tables twice, first a temporary table, then a
final one. This commit changes the behaviour slightly: The "create_only"
column is only created in the final table.
Fixes #1522
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1525
-- Commit Summary --
* Only create create_only columns in final table
-- File Changes --
M src/flex-table.cpp (11)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1525.patch
https://github.com/openstreetmap/osm2pgsql/pull/1525.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210608/21b1f6bc/attachment.htm>
More information about the Tile-serving
mailing list