  import collections
  import re
  from functools import partial
  from itertools import chain
  
  from django.core.exceptions import EmptyResultSet, FieldError
  from django.db import DatabaseError, NotSupportedError
 
</s> remove                 yield ' '.join(str(c) for c in row)
 </s> add                 yield ' '.join(output_formatter(c) for c in row)
import json
  import collections
import json
  import re
  from functools import partial
  from itertools import chain
  
  from django.core.exceptions import EmptyResultSet, FieldError
  from django.db import DatabaseError, NotSupportedError
add keep keep keep keep keep keep
 Fixed #32226 -- Fixed JSON format of QuerySet.explain() on PostgreSQL. 
django/db/models/sql/compiler.py