exclude template0

This commit is contained in:
Jason Ertel
2026-08-05 16:43:26 -04:00
parent e998a21b4d
commit a8053e2c9d
+1 -1
View File
@@ -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