You cannot access the shared database using psql, pgadmin, etc.
Heroku offers you the choice of working in a general or special database package. The overall plan is suitable for developing and hosting applications. It runs Postgres 8.3. Special plans are suitable for production scale applications. In addition, dedicated databases offer a number of advantages: including direct access (via psql or any native postgres library) , stored procedures, and Postgres 9 support. [Source]
source share