there's someone already doing this: https://github.com/malisper/pgrust