2

I'm trying to use the pg_dump command to generate a file from the whole database which includes some tables from Postgresql:

pg_dump -h <my postgres host> -U <my user name> -Fc <my database name> > pg.dump

I want to convert this pg.dump file to pg.sqlite, but I don't know how to do it.

Zoran
  • 4,196
  • 2
  • 22
  • 33
L.Jovi
  • 1,631
  • 4
  • 22
  • 36
  • Do not use the custom format, use insert statements. After that some manual work may be needed, but it's a lot simpler. – Sami Kuhmonen Jun 03 '15 at 08:31
  • 6
    possible duplicate of [How to convert a postgres database to sqlite](http://stackoverflow.com/questions/6148421/how-to-convert-a-postgres-database-to-sqlite) – Wolph Jun 03 '15 at 09:05

0 Answers0