I\'m using PostgreSQL 9.3.
I want to duplicate some of the db records. Since I\'m using an auto-increment pk id for the table, I want to get back the id mappings fro
The simplest solution IMHO would be to simply add a column to your table where you could put id of the row that was cloned.