Code

Opened 5 years ago

Closed 5 years ago

Last modified 14 months 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:

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.

Attachments (0)

Change History (3)

comment:1 Changed 5 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 5 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 14 months ago by akaariai

  • Component changed from ORM aggregation to Database layer (models, ORM)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.