forked from LegolasVzla/postgresql-useful-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecute_all.sh
More file actions
executable file
·7 lines (7 loc) · 769 Bytes
/
execute_all.sh
File metadata and controls
executable file
·7 lines (7 loc) · 769 Bytes
1
2
3
4
5
6
7
psql -U postgres -a -f ./postgresql/main_database.sql
psql -U postgres -d dev_postgres_database -a -f ./postgresql/dev_postgres_database/public/functions/udf_kill_connections_pg3.sql
psql -U postgres -d dev_postgres_database -a -f ./postgresql/dev_postgres_database/public/functions/udf_kill_connections_pg4.sql
psql -U postgres -d dev_postgres_database -a -f ./postgresql/dev_postgres_database/public/functions/udf_check_value.sql
psql -U postgres -d dev_postgres_database -a -f ./postgresql/dev_postgres_database/public/functions/udf_adjust_sequence.sql
psql -U postgres -d dev_postgres_database -a -f ./postgresql/dev_postgres_database/public/tables/places.sql
psql -U postgres -d dev_postgres_database -a -f ./postgresql/dev_postgres_database/public/data/places.sql