Table columns with type 'json' or 'jsonb' are now explicitly supported.
Lua booleans, strings, numbers, and tables can be written to those
columns and are automatically encoded as JSON on the fly.
This is a breaking change to the behaviour we had before where you had
to encode the JSON yourself in Lua before giving it to osm2pgsql. We
can still do this change as the flex backend is still marked
experimental and the behaviour is much cleaner this way then if we keep
backwards compatibility.
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).