AD:
cannot drop the currently open databaseと出てデータベースが消せませんでしが、dropdbを使用すれば消すことができます。
1 2 3 |
$ psql >drop database database_name cannot drop the currently open database |
dropdb
psqlでログインの必要はないです。
1 |
dropdb database_name |
Related posts
AD:
No Comments, Comment or Ping
Reply to “cannot drop the currently open database – Postgres drop datababaseのエラー”
You must be logged in to post a comment.