okfn/ckan — pull request #701 by johnglover (2013-03-26 09:05:35+00:00)
Title: paster datastore set-permissions fails if database name contains "-"

It seems to just need to be quoted with double quotes instead of single (in set_permissions.sql), not sure why this was not done initially.