13 Commits

Author SHA1 Message Date
7215cfa753 Move internal linkage code into anonymous namespace 2025-04-19 17:26:58 +02:00
ede8880e72 Update copyright date 2025-01-13 09:07:30 +01:00
cd17e6be48 Add tests to make sure no schema except specified one is touched 2024-10-03 20:33:56 +02:00
7b6ed0d2bc Use anonymous namespace instead of static in test code
This is recommended in C++ Core Guidelines SF.22
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-unnamed2
2024-08-15 22:24:35 +02:00
ff91d49869 Update copyright date 2024-01-26 16:45:53 +01:00
7ba523ba37 Update copyright date to 2023 2023-01-15 16:13:42 +01:00
56d5145615 Updates copyright date to 2022 in all files 2022-01-11 14:30:34 +01:00
d45018f88b Update copyright year to 2021 2021-01-28 09:38:17 +01:00
61bdfb4bc5 Add/update copyright notice on all C++ files
This adds a copyright notice to all C++ files and the README clarifying
the license. (There is no change of the license.) This also removes a
few names explicitly mentioned as copyright holders, instead refering to
the git log which has a full list of all osm2pgsql developers. (There is
also still the AUTHORS file which names the most important developers.)

The only exception is the sprompt.cpp file which was taken from
PostgreSQL and keeps its original license information (and, of course,
the files in contrib).
2020-12-19 11:25:07 +01:00
6fa6b43906 Cleanup flex update tests 2020-07-01 15:37:07 +02:00
40f67ee2a6 Fix flex backend expire for tables with type/id columns
Tables that can take different OSM types have a type and an id column,
because the expire functionality needs to find and remove rows by type
and id. The query that does this was broken, so it never found anything.
2020-06-04 09:43:37 +02:00
b6d8645094 Remove unused way nodes in test data 2020-06-03 10:07:22 +02:00
9c16722d04 New flex backend
This introduces a new "flex" backend which allows much more flexibility
in choosing the database format and the transformation from OSM data to
the database format. The user defines all this in a Lua script.
2020-02-05 19:41:00 +01:00