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.

CommentFileSizeAuthor
#1 reglang-743820.patch865 bytesbspellmeyer

Comments

bspellmeyer’s picture

StatusFileSize
new865 bytes

Patch attached.

bspellmeyer’s picture

Status: Active » Needs review

Status update.

kars-t’s picture

Status: Needs review » Reviewed & tested by the community

Sorry for this. Will fix this later.

kars-t’s picture

Status: Reviewed & tested by the community » Fixed

#743820 by bspellmeyer | Kars-T: Fixed PostgreSQL compatibility.

Status: Fixed » Closed (fixed)
Issue tags: -PostgreSQL

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