I'm getting a PostgreSQL error in the logs from linkintel every time cron runs. The problem is that for a SELECT DISTINCT, PostgreSQL requires that ORDER BY fields also be specified as a SELECT Field. Patch to follow.

Comments

ben coleman’s picture

Status: Active » Needs review
StatusFileSize
new827 bytes

Attached is a patch for the above problem. This should be compatible with both MySQL and PostgreSQL.