'How to reset postgresql database on Mac

So, I'm currently working on Odoo and Postgresql. For some reasons, the database I tried to delete keeps appearing on pgAdmin. I have tried solving the problem by resetting the database, and I've searched for different ways to do so. However, non of those works. The most recent one I've tried was this one: https://medium.com/backticks-tildes/resetting-your-postgres-database-f43ba9f1c601 It gave me this error:

Error: postgresql: Calling sha256 "digest" => :tag in a bottle block is disabled! Use brew style --fix on the formula to update the style or use sha256 tag: "digest" instead. Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/postgresql.rb:9

Are there any other ways I can reset the databases directly from pgAdmin, or without using brew?

Thanks a lot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source