Using pg_dump to only get insert statements from one table within database

Posted by Roland on Stack Overflow See other posts from Stack Overflow or by Roland
Published on 2010-05-18T14:08:10Z Indexed on 2010/05/18 14:10 UTC
Read the original article Hit count: 211

Filed under:

I'm looking for a way to get all rows as insert statements from one specific table within a database using pg_dump in postgres.

eg I have table A and all rows in table a I need as INSERT STATEMENTS, it should also dump those staements to a file

Is this possible?

© Stack Overflow or respective owner

Related posts about postgresql