I’m working on a Rails app and have successfully loaded postgresql9.1 on my macX. Rails works fine with postgres, but now want to fully use pgadmin3 to update tables.
Pgadmin3 indicates I need to add adminpack — the file is already in the postgres dir on my mac. Postgres guide (and the command line) say that a “CREATE EXTENSION –adminpack” command is needed. I’ve tried many different approaches and can’t figure it out. I’m first time postgres user so any help would be a life saver!
The terminal command/response is below:
$ CREATE EXTENSION adminpack–1.0
-bash: CREATE: command not found
Everything else with the postgres db/admin/rails seems to be working well.
It should just be “CREATE EXTENSION adminpack”. The “–1.0” and so on is put in by the Postgres server. viz.: