small fix

This commit is contained in:
root
2023-09-30 14:18:44 +03:00
parent a598e645c2
commit 6ebf65cdb9
15 changed files with 59 additions and 67 deletions

View File

@ -11,7 +11,7 @@ psql
```
Убиваем соединения с БД:
```shell
```psql
SELECT pg_terminate_backend (pid)
FROM pg_stat_activity
WHERE pg_stat_activity.datname = '<database_name>';
@ -29,6 +29,6 @@ psql
```
Дропаем БД:
``` shell
```psql
DROP DATABASE <database_name> WITH (FORCE);
```