Export users to DBM is the greatest thing since sliced bread -- love it. It just needs two slight modifications to work with Postgresql.
In the file export_users_dbm.module:
line 165: ...
r.name AS role_nameline 169: ...
'default' AS role_name
The code as it exists in 1.0-rc1 is missing the "AS" clause between the field name / constant and the column alias. I didn't try this with MySQL, but I presume it works with and without the "AS" ('default' AS role_name is standard MySQL syntax, I believe).
I'm sorry that I didn't try the MySQL or create a patch file for you, but this bug fix is so very simple; I hope you will agree and take the time to try it and role it in. With the above change, Export users to DBM works wonderfully under Postgres.
Thanks,
- Greg
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | export_users_dbm-HEAD-2009_04_22.patch | 1.41 KB | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedI have created a patch file and confirmed that it still works under mysql.
Comment #2
greg.1.anderson commentedComment #3
damien tournoud commentedCommitted to HEAD. Thanks.