      def is_postgresql_13(self):
          return self.connection.pg_version >= 130000
  
      has_websearch_to_tsquery = property(operator.attrgetter('is_postgresql_11'))
      supports_covering_indexes = property(operator.attrgetter('is_postgresql_11'))
      supports_covering_gist_indexes = property(operator.attrgetter('is_postgresql_12'))
      supports_non_deterministic_collations = property(operator.attrgetter('is_postgresql_12'))
 
</s> remove     'ArrayAgg', 'BitAnd', 'BitOr', 'BoolAnd', 'BoolOr', 'JSONBAgg', 'StringAgg',
 </s> add     'ArrayAgg', 'BitAnd', 'BitOr', 'BitXor', 'BoolAnd', 'BoolOr', 'JSONBAgg',
    'StringAgg', </s> remove         ArrayAgg, BitAnd, BitOr, BoolAnd, BoolOr, Corr, CovarPop, JSONBAgg,
        RegrAvgX, RegrAvgY, RegrCount, RegrIntercept, RegrR2, RegrSlope,
        RegrSXX, RegrSXY, RegrSYY, StatAggregate, StringAgg,
 </s> add         ArrayAgg, BitAnd, BitOr, BitXor, BoolAnd, BoolOr, Corr, CovarPop,
        JSONBAgg, RegrAvgX, RegrAvgY, RegrCount, RegrIntercept, RegrR2,
        RegrSlope, RegrSXX, RegrSXY, RegrSYY, StatAggregate, StringAgg,
    @cached_property
    def is_postgresql_14(self):
        return self.connection.pg_version >= 140000

    has_bit_xor = property(operator.attrgetter('is_postgresql_14'))
      def is_postgresql_13(self):
          return self.connection.pg_version >= 130000
  
    @cached_property
    def is_postgresql_14(self):
        return self.connection.pg_version >= 140000

    has_bit_xor = property(operator.attrgetter('is_postgresql_14'))
      has_websearch_to_tsquery = property(operator.attrgetter('is_postgresql_11'))
      supports_covering_indexes = property(operator.attrgetter('is_postgresql_11'))
      supports_covering_gist_indexes = property(operator.attrgetter('is_postgresql_12'))
      supports_non_deterministic_collations = property(operator.attrgetter('is_postgresql_12'))
keep keep add keep keep keep keep
 Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres. 
django/db/backends/postgresql/features.py