#10906: Aggregation support absent on postgres < 8.2
--------------------------------------------------------------+-------------
Reporter: Richard Davies <[email protected]> | Status:
new
Milestone: 1.1 | Component:
ORM aggregation
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
--------------------------------------------------------------+-------------
Running the test suite on a clean check out of r10628, with PostgreSQL 8.1
and psycopg2, I get numerous errors from the
regressiontests/aggregation_regress/, including:
{{{
ProgrammingError: function stddev_pop(integer) does not exist
ProgrammingError: function stddev_samp(integer) does not exist
ProgrammingError: function var_pop(integer) does not exist
ProgrammingError: function var_samp(integer) does not exist
}}}
I believe that these aggregates were first implemented in PostgreSQL 8.2,
so either the aggregation code itself or at least the test cases should be
conditional on that version.
See [10142] for an existing error message on PostgreSQL 8.2 to 8.2.4,
which could perhaps be extended downwards?
--
Ticket URL: <http://code.djangoproject.com/ticket/10906>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---