mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Use better fake db name
This commit is contained in:
@@ -29,7 +29,7 @@ following:
|
|||||||
```sql
|
```sql
|
||||||
select pg_terminate_backend(pg_stat_activity.pid)
|
select pg_terminate_backend(pg_stat_activity.pid)
|
||||||
from pg_stat_activity
|
from pg_stat_activity
|
||||||
where pg_stat_activity.datname = 'test_drop'
|
where pg_stat_activity.datname = 'sample_db'
|
||||||
and pid <> pg_backend_pid();
|
and pid <> pg_backend_pid();
|
||||||
pg_terminate_backend
|
pg_terminate_backend
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user