postgres-hstore: fix database initialization with custom username

update
Piotr Dobrowolski 2019-05-12 15:58:49 +02:00
rodzic d39cfd9b42
commit 0aee39af76
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,7 @@ set -e
#
# Running CREATE EXTENSION in both template1 and postgres can lead to
# the extensions having different eid's.
psql --dbname template1 -U postgres <<EOSQL
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname template1 <<EOSQL
CREATE EXTENSION hstore;
CREATE EXTENSION ltree;
CREATE EXTENSION pg_trgm;