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.
9 lines
322 B
Bash
Executable file
9 lines
322 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
# Create 'openstreetmap' user
|
|
# Password and superuser privilege are needed to successfully run test suite
|
|
psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" <<-EOSQL
|
|
CREATE USER openstreetmap SUPERUSER PASSWORD 'openstreetmap';
|
|
GRANT ALL PRIVILEGES ON DATABASE openstreetmap TO openstreetmap;
|
|
EOSQL
|