X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fmake_postgresql_tables.in;h=fd831d377440b197866a9bdc620718c26eff5a3c;hb=f5984fe3b5fe567e1609078ed5966f4d0428f0a7;hp=d1a6ad14df43f2b387c220492638de229b68f481;hpb=cb55ec8aa42630175e8839dd40161bd2efc2a44a;p=bacula%2Fbacula diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index d1a6ad14df..fd831d3774 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -2,80 +2,144 @@ # # 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@ +PATH="$bindir:$PATH" +db_name=${db_name:-@db_name@} -if $bindir/psql -f - -d bacula $* <