Frits,
Would you mind sharing the source code of your benchmark?
>BTW: It seems you need a recent driver for this; I'musing postgresql-42.1.1.jar
Technically speaking, reWriteBatchedInserts was introduced in 9.4.1209(2016-07-15)
Vladimir