Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
develop:postgresql [2023/08/19 22:20] – [Восстановление из дампа / Restore] 192.168.1.135 | develop:postgresql [2024/04/22 22:32] (текущий) – mirocow | ||
---|---|---|---|
Строка 7: | Строка 7: | ||
* [[postgresql: | * [[postgresql: | ||
* [[https:// | * [[https:// | ||
+ | * [[postgresql: | ||
====== Создание БД ====== | ====== Создание БД ====== | ||
Строка 36: | Строка 37: | ||
<code bash> | <code bash> | ||
$ psql template1 -c 'drop database database_name;' | $ psql template1 -c 'drop database database_name;' | ||
- | $ psql template1 -c ' | + | $ psql template1 -c ' |
$ psql database_name < database_name_20160527.sql | $ psql database_name < database_name_20160527.sql | ||
</ | </ | ||
Строка 87: | Строка 88: | ||
* [[https:// | * [[https:// | ||
+ | ====== Postgresql ====== | ||
+ | |||
+ | {{topic> |