Maybe I'm missing something, but have you tried reading them from Oracle and directly writing them to PostGIS?(in other words: let the writer sort it out without tinkering with it)
Have you tried to use the Aggregator transformer?
In the "Group By" you should put the primary key field.