File tree Expand file tree Collapse file tree 4 files changed +40
-3
lines changed
Expand file tree Collapse file tree 4 files changed +40
-3
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ # Perform all actions as $POSTGRES_USER
6+ export PGUSER=" $POSTGRES_USER "
7+
8+ # Create global extension
9+ echo " Creating extension intarray globally"
10+ " ${psql[@]} " << - 'EOSQL '
11+ CREATE EXTENSION IF NOT EXISTS intarray;
12+ EOSQL
13+
14+ # Create extension in template1 and $POSTGRES_DB
15+ for DB in template1 " $POSTGRES_DB " ; do
16+ echo " Creating extension intarray into $DB "
17+ " ${psql[@]} " --dbname=" $DB " << -'EOSQL '
18+ CREATE EXTENSION IF NOT EXISTS intarray;
19+ EOSQL
20+ done
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ # Perform all actions as $POSTGRES_USER
6+ export PGUSER=" $POSTGRES_USER "
7+
8+ # Create global extension
9+ echo " Creating extension unaccent globally"
10+ " ${psql[@]} " << - 'EOSQL '
11+ CREATE EXTENSION IF NOT EXISTS unaccent;
12+ EOSQL
13+
14+ # Create extension in template1 and $POSTGRES_DB
15+ for DB in template1 " $POSTGRES_DB " ; do
16+ echo " Creating extension unaccent into $DB "
17+ " ${psql[@]} " --dbname=" $DB " << -'EOSQL '
18+ CREATE EXTENSION IF NOT EXISTS unaccent;
19+ EOSQL
20+ done
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments