You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "$(date): Starting weekly VACUUM FULL operation" >> "$LOG_FILE"
24
+
echo "$(date): Starting VACUUM FULL operation" >> "$LOG_FILE"
17
25
18
26
# Get list of all tables in the database
19
27
TABLES=$(psql -t -c "SELECT schemaname || '.' || tablename FROM pg_tables WHERE schemaname NOT IN ('pg_catalog', 'information_schema')" "${POSTGRES_DB:-postgres}")
@@ -25,14 +33,17 @@ for TABLE in $TABLES; do
25
33
echo "$(date): Completed VACUUM FULL on $TABLE" >> "$LOG_FILE"
26
34
done
27
35
28
-
echo "$(date): Weekly VACUUM FULL operation completed" >> "$LOG_FILE"
36
+
echo "$(date): VACUUM FULL operation completed" >> "$LOG_FILE"
0 commit comments