]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/update_bacula_tables.in
Remove old bdb files + change DQUEUE to use dlist
[bacula/bacula] / bacula / src / cats / update_bacula_tables.in
1 #!/bin/sh
2 #
3 # This routine alters the appropriately configured
4 #  Bacula tables for PostgreSQL, Ingres, MySQL, or SQLite.
5 #
6 if test xsqlite3 = x@DB_TYPE@ ; then
7   echo "Altering SQLite tables"
8   @scriptdir@/update_@DB_TYPE@_tables $*
9 fi
10 if test xmysql = x@DB_TYPE@ ; then
11   echo "Altering MySQL tables"
12   @scriptdir@/update_mysql_tables $*
13 fi
14 if test xingres = x@DB_TYPE@ ; then
15   echo "Altering Ingres tables"
16   @scriptdir@/update_ingres_tables $*
17 fi
18 if test xpostgresql = x@DB_TYPE@ ; then
19   echo "Altering PostgreSQL tables"
20   @scriptdir@/update_postgresql_tables $*
21 fi