summaryrefslogtreecommitdiff
path: root/src/auditordb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-28 22:00:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-28 22:00:24 +0200
commit0f5d6c9653abf49591e36b884ee03603c23925e9 (patch)
tree656370712811a2abe2060de364d00fe235edd74f /src/auditordb
parent4d4955e225011efb02ebce2ecaf7d29198c8d89f (diff)
downloadexchange-0f5d6c9653abf49591e36b884ee03603c23925e9.tar.gz
exchange-0f5d6c9653abf49591e36b884ee03603c23925e9.tar.bz2
exchange-0f5d6c9653abf49591e36b884ee03603c23925e9.zip
add search path for auditor restart
Diffstat (limited to 'src/auditordb')
-rw-r--r--src/auditordb/restart.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auditordb/restart.sql b/src/auditordb/restart.sql
index 90bb59551..a3cf09e6e 100644
--- a/src/auditordb/restart.sql
+++ b/src/auditordb/restart.sql
@@ -17,6 +17,8 @@
-- Everything in one big transaction
BEGIN;
+SET search_path TO auditor;
+
-- This script restart the auditor state as done to RESTART
-- an audit from scratch. It does NOT drop tables and also
-- PRESERVES data that running the auditor would not recover,