proper postgres only solution for KKJ2 transfer