[openstreetmap/openstreetmap-website] Remove tile_for_point SQL functions (PR #3830)

Andy Allan notifications at github.com
Wed Dec 7 17:24:30 UTC 2022


This removes both the pl/pgsql version and the shared library version of the `tile_for_point` SQL function. This function was only used in some old migrations, and is not required for production usage.

Removing this function simplifies the installation and configuration for new developers.

These SQL functions are separate from the `tile_for_point` ruby/C function which is part of the quad_tile gem. This function is still used when creating and updating database records.

Fixes #3110.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3830

-- Commit Summary --

  * Remove tile_for_point SQL functions

-- File Changes --

    M .github/workflows/tests.yml (1)
    M CONFIGURE.md (2)
    M INSTALL.md (46)
    D db/functions/.gitignore (2)
    D db/functions/Makefile (25)
    D db/functions/functions.sql (42)
    D db/functions/quadtile.c (29)
    M db/migrate/005_tile_tracepoints.rb (12)
    M db/migrate/006_tile_nodes.rb (27)
    M db/migrate/20180204153242_tile_users.rb (6)
    M db/structure.sql (35)
    M docker/postgres/Dockerfile (5)
    M docker/postgres/openstreetmap-postgres-init.sh (3)
    M script/vagrant/setup/provision.sh (15)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3830.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3830.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/3830 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221207/14b702df/attachment.htm>


More information about the rails-dev mailing list