Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#10289 closed (fixed)

Postgresql aggregate support version check is hypersensitive

Reported by: ikelly 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:


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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
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 7 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 3 years ago by akaariai

  • Component changed from ORM aggregation to Database layer (models, ORM)
Note: See TracTickets for help on using tickets.
Back to Top