Utilities for erlang postgres driver.