[Tile-serving] [openstreetmap/osm2pgsql] Test flex indexes (PR #1853)

Jochen Topf notifications at github.com
Mon Dec 12 13:27:09 UTC 2022


 Add testing capability to pgsql capability code and use it to test flex index setup.

The second commit  refactors the flex_lua_setup_index() code to avoid having to count numbers of values on the Lua stack.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1853

-- Commit Summary --

  * Add testing capability to pgsql capability code
  * Refactor flex_lua_setup_index() code

-- File Changes --

    M src/flex-lua-index.cpp (35)
    M src/pgsql-capabilities.cpp (13)
    M src/pgsql-capabilities.hpp (3)
    M tests/CMakeLists.txt (1)
    A tests/test-flex-indexes.cpp (336)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1853.patch
https://github.com/openstreetmap/osm2pgsql/pull/1853.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1853
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1853 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221212/94694e16/attachment.htm>


More information about the Tile-serving mailing list