Fixed issue in getting new primaryKey when inserting in PostgreSQL
Merge pull request #64 from mvdnes/3.6

Fixed issue in getting new primaryKey when inserting in PostgreSQL