Closed (fixed)
Project:
Category
Version:
6.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2007 at 15:20 UTC
Updated:
7 Jun 2009 at 14:11 UTC
category.inc line 833 did not include all the columns mentioned in the Order By within the Select list as required by standard SQL and PostgreSQL.
The attached patch takes care of this.
| Comment | File | Size | Author |
|---|---|---|---|
| category.inc_.pgsql_support.20070226.patch | 1.09 KB | PMunn |
Comments
Comment #1
PMunn commentedI just took a look at the March 6th dev release and this bug is still present in the source code. If anyone would like to take a look and give the patch (or a new one that does the same thing) a chance, I'd appreciate it.
Comment #2
PMunn commentedThis bug is still present in the 2007-07-16 5.x-1.x-dev version.
Comment #3
PMunn commentedThe bug is still there in the August 6th release. (Is this annoying? Please examine and apply the patch, or suggest an alternative.)
Comment #4
JirkaRybka commentedAfter nearly 2 years, the 6.x-2.0-beta3 release seems to have the same, still (category.inc, line 72). I can't test on PgSQL, but it would not hurt to roll a small patch, still. One thing we should be careful about, is that we don't add columns with the same name as already retrieved from a different table, effectively overriding the values with something unneeded. I would say, just alias the added columns.
Taking down from critical, since no-one cared for 2 years...
Comment #5
JirkaRybka commentedIn fact, this issue only just shows how old stuff may be found in the Category queue. This is not a problem for quite a while now:
PgSQL 6.5 (archive) documentation - SELECT:
Drupal 6 now requires PgSQL 7.4 minimum, so the problem doesn't exist anymore.
Closing this issue.