mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-09-21 23:24:34 +02:00
exclude template0
This commit is contained in:
@@ -880,7 +880,7 @@ post_to_3.1.0() {
|
||||
recollate_postgres() {
|
||||
echo ""
|
||||
echo "Recollating PostgreSQL databases. The following output may contain warnings about a version mismatch, followed by a note indicating that the collation version has been changed."
|
||||
for db in template0 template1 postgres securityonion so_telegraf; do
|
||||
for db in template1 postgres securityonion so_telegraf; do
|
||||
docker exec so-postgres psql -U postgres $db -c "reindex database $db"
|
||||
docker exec so-postgres psql -U postgres $db -c "alter database $db refresh collation version"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user