Sorry for this noob question, but I'm not sure what I just did regarding PostgreSQL. I downloaded and installed Postres.app
from http://postgresapp.com/ Then I decided that I no longer wanted it and would rather just install PostgreSQL with Homebrew. So I dragged Postgres.app
from my applications folder to my trash and then cleaned my trash and rebooted. Now I'm discovering that I can run psql
from the command line with no problem and I appear to be able to create and connect to PostgreSQL databases and so forth. So my question is: was PostgreSQL already installed on my system (Mac 10.8.2 - Mountain Lion)? When I installed Postgres.app, was that just a wrapper that started and stopped the database for me? (If so, why was it a 28 MB download?) Or did I install PostgreSQL when I installed Postgres.app?
According to this you've done ok with the Trash. You can go through the list of folders it mentions as installation directories and remove them if still present:
/Applications/Postgres.app/Contents/MacOS/bin
/Applications/Postgres.app/Contents/MacOS/include
/Applications/Postgres.app/Contents/MacOS/lib
/Applications/Postgres.app/Contents/MacOS/share
~/Library/Application\ Support/Postgres/var
Also you can check your psql installation running:
$ which psql
It should come from /usr/bin/
if it was installed properly by some source (macports, brew) and I presume the PostgresApp used its own bin folder for it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With