Fix format class-not-found errors for pgsql8