Postgres is a little more strict when it comes to joins than MySQL is and the community tags module has some queries which are not valid in Postgres. The alterations are very simple; you just need to include all fields SELECTed in the JOIN clause.

I have attached a patch which changes the joins in the specified release; I think this is the standard syntax, so should work correctly under MySQL as well.

Comments

elyobo’s picture

StatusFileSize
new2.75 KB

Sorry, badly formatted patch the first time... This patch is in the correct format.

elyobo’s picture

Bump. This is a pretty simple SQL fix, the patch is already attached, any takers?

entrigan’s picture

This will not change the query functionality at all?

entrigan’s picture

committed

entrigan’s picture

Status: Active » Fixed
elyobo’s picture

No, it doesn't change the query functionality, Postgres just requires that all SELECTed fields be GROUPed as well. Thanks for getting this sorted :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.