From: Dan Langille Date: Fri, 12 Dec 2003 15:33:51 +0000 (+0000) Subject: Supply a PostgreSQL option X-Git-Tag: Release-1.34.0~293 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e214f7b18f9af15c9a771b0f126e8eafee3b51e;p=bacula%2Fbacula Supply a PostgreSQL option git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@863 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/update_bacula_tables.in b/bacula/src/cats/update_bacula_tables.in index a1b1984cac..a45d69eaa2 100755 --- a/bacula/src/cats/update_bacula_tables.in +++ b/bacula/src/cats/update_bacula_tables.in @@ -1,7 +1,7 @@ #!/bin/sh # # This routine alters the appropriately configured -# Bacula tables for either MySQL or SQLite +# Bacula tables for PostgreSQL, MySQL, or SQLite. # if test xsqlite = x@DB_NAME@ ; then echo "Altering SQLite tables" @@ -11,3 +11,8 @@ if test xmysql = x@DB_NAME@ ; then echo "Altering MySQL tables" . ./update_mysql_tables fi +if test xpostgresql = x@DB_NAME@ ; then + echo "Altering PostgreSQL tables" + # we need the bacula datbase name in here... Should not be hardcoded + . ./update_postgresql_tables bacula +fi