In reglang.module line 111 says
db_query('UPDATE {users} SET language = "%s" WHERE uid = %d', $language->language, $account->uid);
PostgreSQL requires strings to be enclosed with single quotes instead of double quotes. The correct query would be
db_query("UPDATE {users} SET language = '%s' WHERE uid = %d", $language->language, $account->uid);
MySQL doesn't care.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | reglang-743820.patch | 865 bytes | bspellmeyer |
Comments
Comment #1
bspellmeyer commentedPatch attached.
Comment #2
bspellmeyer commentedStatus update.
Comment #3
kars-t commentedSorry for this. Will fix this later.
Comment #4
kars-t commented#743820 by bspellmeyer | Kars-T: Fixed PostgreSQL compatibility.