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_name

line 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

Comments

greg.1.anderson’s picture

StatusFileSize
new1.41 KB

I have created a patch file and confirmed that it still works under mysql.

greg.1.anderson’s picture

Status: Active » Needs review
damien tournoud’s picture

Status: Needs review » Fixed

Committed to HEAD. Thanks.

Status: Fixed » Closed (fixed)

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