This query:

$how_many = db_result(db_query("SELECT COUNT(*) FROM {users} WHERE status = 1 AND uid >= %d ORDER BY uid", $start));

doesn't work in postgresql database and must be replaced with:

$how_many = db_result(db_query("SELECT COUNT(uid) FROM {users} WHERE status = 1 AND uid >= %d", $start));

Look at the attached patch

CommentFileSizeAuthor
realname-postgres-patch.patch616 byteslussoluca

Comments

hass’s picture

Issue summary: View changes
Status: Active » Closed (outdated)