From 6e214f7b18f9af15c9a771b0f126e8eafee3b51e Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Fri, 12 Dec 2003 15:33:51 +0000 Subject: [PATCH] Supply a PostgreSQL option git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@863 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/update_bacula_tables.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5