1@ECHO off
2REM
3REM  Script to delete Bacula tables for PostgreSQL
4REM
5
6"@SQL_BINDIR@\psql" -f "@bin_dir_cmd@\drop_postgresql_tables.sql" -d bacula %*
7IF ERRORLEVEL 1 GOTO :ERROR
8ECHO Deletion of Bacula PostgreSQL tables succeeded.
9EXIT /b 0
10GOTO :EOF
11
12:ERROR
13ECHO Deletion of Bacula PostgreSQL tables failed.
14EXIT /b 1
15