When you update a features public/private status in an og space, the UPDATE query uses INNER JOINs that fail with Postgresql.

Comments

halcyonCorsair’s picture

StatusFileSize
new1.21 KB

Oops, add {}'s around table names.

also is their a reason you changed the form of the query so much?
from joins to a subquery?
miccolis: postgres doesn't like INNER JOINs in update queries
miccolis: hmm, i think i can rewrite it to use a FROM instead of the subselect to be in a similar form, but i don't think that would work with mysql
Ok, subselect is fine.

yhahn’s picture

Status: Needs review » Fixed

Committed. I reimplemented the same query for OG 1.0 removing INNER JOINs and using a subselect as well.

http://drupal.org/cvs?commit=270346

Status: Fixed » Closed (fixed)

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

liam morland’s picture

Issue tags: +PostgreSQL