]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/grant_bacula_privileges.in
remove GROUP BY on db_get_job_volume_names. REVIEW.
[bacula/bacula] / bacula / src / cats / grant_bacula_privileges.in
1 #!/bin/sh
2 #
3 # This routine makes the appropriately configured
4 #  Bacula tables for PostgreSQL or MySQL.
5 # SQLite does not have permissions.
6 #
7 if test xmysql = x@DB_NAME@ ; then 
8   echo "Granting MySQL privileges"
9   . ./grant_mysql_privileges
10 else
11   echo "Granting PostgreSQL privileges"
12   # hard coded database name
13   . ./grant_postgresql_privileges bacula
14 fi