I am trying to dump my database.
For reasons I can't go into detail here, I am unable to use the "Copy" function. This means that the insert statements have to be "pure" insert. However, I am not sure how to reflect this in my dump.
Currently, this is my dump command:
pg_dump -U myUser --column-inserts --data-only -h localhost my_db> backup
Can anyone tell me how i might get the insert statements without the Copy
function?
--column-inserts
is for, and it seems to work just fine for me... Double-check that you ran the right command, and are looking at the right backup. – Penicillium