]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/cats/make_postgresql_tables.cmd
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / win32 / cats / make_postgresql_tables.cmd
1 @ECHO off\r
2 REM\r
3 REM  Script to create Bacula PostgreSQL tables\r
4 REM\r
5 \r
6 "@SQL_BINDIR@\psql" -f "@bin_dir_cmd@\make_postgresql_tables.sql" -d bacula %*\r
7 IF ERRORLEVEL 1 GOTO :ERROR\r
8 ECHO Creation of Bacula PostgreSQL tables succeeded.\r
9 EXIT /b 0\r
10 GOTO :EOF\r
11 \r
12 :ERROR\r
13 ECHO Creation of Bacula PostgreSQL tables failed.\r
14 EXIT /b 1\r