The autocomplete sql code doesn't work with postgresql.
I hade to change line 1895 (function user_autocomplete) to:
$result = db_query_range("SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER('%%%s%%')", $string, 0, 10);
The autocomplete sql code doesn't work with postgresql.
I hade to change line 1895 (function user_autocomplete) to:
$result = db_query_range("SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER('%%%s%%')", $string, 0, 10);
Comments
Comment #1
Thox commentedPostgreSQL treats single and double quotes differently?
Comment #2
Cvbge commentedYes, from http://www.postgresql.org/docs/7.4/interactive/sql-syntax.html :
Comment #3
Zen commentedThis appears to be fixed.
-K
Comment #4
dries commented