]> git.ozlabs.org Git - patchwork/commit - lib/sql/grant-all.postgres.sql
[sql] use separate grant-all scripts for postgresql and mysql
authorJeremy Kerr <jk@ozlabs.org>
Thu, 9 Oct 2008 11:49:18 +0000 (22:49 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 9 Oct 2008 11:49:18 +0000 (22:49 +1100)
commit4a039197705f92ee1c362401a7f7bb834ecc9079
tree4d5ab43e19b9e0edb1c990a0baa92c4b63a1d79b
parent65404776f7f0e975737a5c8c69dc0b2ae5fe93da
[sql] use separate grant-all scripts for postgresql and mysql

Mysql doesn't support granting to multiple tables, and requires a
different username format.

Would be nice to code the permissions somewhere, then generate the
grant statements as required.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
docs/INSTALL
lib/sql/grant-all.mysql.sql [new file with mode: 0644]
lib/sql/grant-all.postgres.sql [new file with mode: 0644]
lib/sql/grant-all.sql [deleted file]