Swith to custom postgresql syncing