code: def _reregister_types(self):
          
          for _type in self._register_types:
              psycopg2.extensions.register_type(psycopg2.extensions.new_type(*_type))
docs: Registers existing types for a new connection