What's the difference between restoring a dump file with pg_restore or psql < dump.sql?
What's the difference between restoring a dump file with pg_restore or
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
What's the difference between restoring a dump file with pg_restore or psql < dump.sql?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 5, 2021, 12:33 PM EDT
A different types of dumps require different tools. Pg_restore would not load just .sql, and it's not that simple to put .tar or dir to the psql.