Opened 16 years ago

Closed 16 years ago

Last modified 12 years ago

#10289 closed (fixed)

Postgresql aggregate support version check is hypersensitive

Reported by: Erin Kelly Owned by:
Component: Database layer (models, ORM) Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Using population StdDev and Variance, I get the error PostgreSQL 8.2 to 8.2.4 is known to have a faulty implementation of VAR_POP. Please upgrade your version of PostgreSQL. However, my PostgreSQL version is 8.2.11.

Change History (3)

comment:1 by Alex Gaynor, 16 years ago

if self.postgres_version[0] == 8 and self.postgres_version[1] == 2 and self.postgres_version[1] <= 4:

unless I'm mistaken that last check should be for version[2], so it seems to be a simple typo.

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [9845]) Fixed #10289 -- Corrected typo that produced oversensitive rejection of Postgres versions. Thanks to Ian Kelly for the report.

comment:3 by Anssi Kääriäinen, 12 years ago

Component: ORM aggregationDatabase layer (models, ORM)
Note: See TracTickets for help on using tickets.
Back to Top