mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-06-26 04:53:59 +03:00
small fix
This commit is contained in:
@ -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);
|
||||
```
|
||||
|
Reference in New Issue
Block a user