X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fmake_postgresql_tables.in;h=bd136c6a0b4225622852ca5e7ccf1c125600bfd1;hb=cfcf57ad40aaebf44f8842c16907741000aea25e;hp=513556adc60dc7524ae2ea763de5b60183b70e5e;hpb=5f4fb4ad9a756c11ab42ca1bb5f8a828dadcea92;p=bacula%2Fbacula diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index 513556adc6..bd136c6a0b 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -3,253 +3,315 @@ # shell script to create Bacula PostgreSQL tables # bindir=@SQL_BINDIR@ +db_name=${db_name:-@db_name@} -if $bindir/psql $* bacula -f - <