#!/bin/sh # # shell script to create Bacula PostgreSQL tables # # Copyright (C) 2000-2020 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # # Important note: # You won't get any support for performance issue if you changed the default # schema. # bindir=@POSTGRESQL_BINDIR@ PATH="$bindir:$PATH" db_name=${db_name:-@db_name@} psql -f - -d ${db_name} $* <