GoToSocial | Mastodon Alternative
-
@murgero It's not clear to me how to do that. I tried
ALTER DATABASE mydb CONNECTION LIMIT 0;
andSELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = 'mydb';
but I only managed to lock myself out before being able to
DROP DATABASE mydb;
How should I drop the database? No matter what I try I get
ERROR: cannot drop the currently open database`
-
-
@doodlemania2 Repo is in the original post