Fixed some of the problems with aggregation_regress tests on higher levles of Postgres. Refs: #14246.
Fixed some of the problems with aggregation_regress tests on higher levles of Postgres. Refs: #14246.

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%4013709

adieu/django-nonrel,adieu/django-nonrel,adieu/django-nonrel