mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-18 18:16:02 +01:00
exclude template0
This commit is contained in:
1 file changed
+1
-1
@@ -880,7 +880,7 @@ post_to_3.1.0() {
|
|||||||
recollate_postgres() {
|
recollate_postgres() {
|
||||||
echo ""
|
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."
|
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 "reindex database $db"
|
||||||
docker exec so-postgres psql -U postgres $db -c "alter database $db refresh collation version"
|
docker exec so-postgres psql -U postgres $db -c "alter database $db refresh collation version"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user