Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#10289 closed (fixed)

Postgresql aggregate support version check is hypersensitive

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

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 Changed 8 years ago by Alex Gaynor

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 Changed 8 years ago by Russell Keith-Magee

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 Changed 4 years ago by Anssi Kääriäinen

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