gem/oq-engine — pull request #740 by larsbutler (2012-04-12 16:00:15+00:00)
Title: Removed obsolete GRANT statements 

The oq_ged4gem user is no longer used. I discovered this bug while trying to bootstrap the oq-engine database on ci2.openquake.org.

Related to this bug: https://bugs.launchpad.net/openquake/+bug/977810

Here's the error I was getting:

$ sudo -u postgres bin/create_oq_schema --db-name=openquake --schema-path=openquake/db/schema/
... blah blah, lots of output ...
psql:openquake/db/schema/security.sql:196: ERROR: role "oq_ged4gem" does not exist