9 Commits

Author SHA1 Message Date
ede8880e72 Update copyright date 2025-01-13 09:07:30 +01:00
ac6008bdf7 Give flex tables a number and use it for prepared statements
This way prepared statements are different and we can have several of
them in the same connection. We'll use that in the future.
2024-02-04 10:25:30 +01:00
ff91d49869 Update copyright date 2024-01-26 16:45:53 +01:00
43dd112612 Add new command line parameter --schema that sets the default schema
This will be used as default for --middle-schema, --output-pgsql-schema,
and for the different ways of setting a schema in the flex output and
generalizer code.

This removes the last places where the schema was hardcoded to "public"
(except as a default for this command line parameter and in some legacy
gazetteer code).
2023-08-14 18:29:48 +02:00
fb2c14128c Clean up lua includes
There was a bit of a mess of different (types of) includes. We now only
use '#include <lua.hpp>' which includes all Lua C headers correctly and
also works for LuaJIT.

Technically it might include more than we need in some cases, because
lua.hpp includes several C headers some of which are only needed
sometimes, but the largest one (lua.h) is the one we always need, the
others are tiny.
2023-06-30 16:06:40 +02:00
7ba523ba37 Update copyright date to 2023 2023-01-15 16:13:42 +01:00
45aa0b3100 Add lots of const's to the code 2023-01-06 20:25:43 +01:00
ce5f01250f Various small fixes for problems found by clang-tidy
Biggest problem here are the warnings for access of objects after
std::move() in the SECTIONs in the tests. Those are not valid,
because for each test only one section is ever run, but it was easiest
to silence the warning this way.
2022-12-22 10:54:46 +01:00
ff5369d5b6 Add testing capability to pgsql capability code
And use it to test flex index setup.
2022-12-12 20:33:23 +01:00