moving adapter extensions to PostgreSQLAdapter