X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fmake_postgresql_tables.in;h=fd831d377440b197866a9bdc620718c26eff5a3c;hb=f5984fe3b5fe567e1609078ed5966f4d0428f0a7;hp=ce6bbdc2855bc84a855f3b57360f3ee91c500580;hpb=9cb39f481a136fdebe527e660348c34969944fc6;p=bacula%2Fbacula diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index ce6bbdc285..fd831d3774 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -2,83 +2,135 @@ # # shell script to create Bacula PostgreSQL tables # +# Important note: +# You won't get any support for performance issue if you changed the default +# schema. +# bindir=@SQL_BINDIR@ -db_name=@db_name@ +PATH="$bindir:$PATH" +db_name=${db_name:-@db_name@} -$bindir/psql -f - -d ${db_name} $* <