]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/update_postgresql_tables.in
Eliminate bsd_queue conflict with winnt.h
[bacula/bacula] / bacula / src / cats / update_postgresql_tables.in
index 5a1d49281449aa051a6376ccdadedc228042675e..d44e26e937d5e2380cbd6f821fc6c3b305e21ce0 100755 (executable)
@@ -11,7 +11,8 @@ bindir=@SQL_BINDIR@
 if $bindir/psql $* -f - <<END-OF-DATA
 \c bacula
 
-UPDATE Version SET VersionId=7;
+DELETE FROM Version;
+INSERT INTO Version (VersionId) VALUES (7);
 
 END-OF-DATA
 then