mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-23 16:10:37 +00:00
13 lines
599 B
Bash
Executable File
13 lines
599 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
cd "$(dirname "${0}")"
|
|
dropdb --if-exist contrib_regression
|
|
createdb contrib_regression
|
|
psql -c "ALTER DATABASE contrib_regression SET TimeZone='UTC'" \
|
|
-c "ALTER DATABASE contrib_regression SET DateStyle='ISO, MDY'" \
|
|
-c "CREATE EXTENSION postgis SCHEMA public" \
|
|
-c "CREATE EXTENSION postgis_topology" \
|
|
-c "CREATE EXTENSION postgis_tiger_geocoder CASCADE" \
|
|
-c "CREATE EXTENSION postgis_raster SCHEMA public" \
|
|
-c "CREATE EXTENSION postgis_sfcgal SCHEMA public"
|
|
POSTGIS_REGRESS_DB=contrib_regression RUNTESTFLAGS=--nocreate make installcheck-base |