Skip to main content
Source Link
teppic
  • 7.3k
  • 1
  • 34
  • 38

pg_dump with --inserts. This will get you a script with individual inserts for the rows instead of single COPY statements.

Run the script with AUTOCOMMIT on (the default).