Revert "some cleanups after removing transfer from pg-extras"

This reverts commit d53324015fd351353532a42c74add3f62b934386.
use a method that exists...