0

Is there a way to import .dump file from Heroku to pgadmin?

I've tried something like below in SQL editor

pg_restore -c -d virtual b003.dump

but I'm getting

ERROR:  syntax error at or near "pg_restore"
LINE 1: pg_restore -c -d virtual b003.dump
        ^
********** Error **********

ERROR: syntax error at or near "pg_restore"
SQL state: 42601
Character: 1
1

1 Answer 1

1

pg_restore is a command-line tool, not a SQL command. pgAdmin has its own UI for restoring DB dumps

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.