Hot answers tagged


I had also a similar case and I solved it via doing theese steps: First of all I made an initial psql_dump with the tables I wanted to dump: pg_dump -t my_table1 -t mytable2 > my_dump.sql Then I listed any sequence existing by filtering them, from the existing dump I made. In case of larger dumps use tools offered in bash or in powershell in order to ...

Only top voted, non community-wiki answers of a minimum length are eligible