Search code examples
postgresqlamazon-rdspg-restore

SQL command equivalent to pg_restore


Is there any SQL command equivalent to pg_restore? Although I can connect to a PostgreSQL database (on AWS RDS) using psycopg2 on Python, but don’t have permission to install any binary packages like pg_restore. How can I restore a dump made with pg_dump without pg_restore?


Solution

  • There is no equivalent SQL command as of now (PostgreSQL 9.3).