4 # Create 'openstreetmap' user
5 psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" <<-EOSQL
6 CREATE USER openstreetmap PASSWORD 'openstreetmap';
7 GRANT ALL PRIVILEGES ON DATABASE openstreetmap TO openstreetmap;
10 # Create btree_gist extensions
11 psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -c "CREATE EXTENSION btree_gist" openstreetmap