suppress warnings for an unsafe cast coming from postgres driver.