]> git.openstreetmap.org Git - nominatim.git/commitdiff
proper silence
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 15 Apr 2012 17:13:57 +0000 (19:13 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 15 Apr 2012 17:13:57 +0000 (19:13 +0200)
utils/cron_vacuum.sh

index f33e8bb09eec6a0a6764cf179121c11724cddc01..4bcb2d5b915d23f50f0d4c1a8bca1c398e33a1ed 100755 (executable)
@@ -4,11 +4,11 @@
 # Agressive vacuuming seems to help against index bloat.
 #
 
-psql -d nominatim -c 'VACUUM ANALYSE search_name' >/dev/null
-psql -d nominatim -c 'VACUUM ANALYSE search_name_country' >/dev/null
-psql -d nominatim -c 'VACUUM ANALYSE planet_osm_ways' >/dev/null
+psql -q -d nominatim -c 'VACUUM ANALYSE search_name'
+psql -q -d nominatim -c 'VACUUM ANALYSE search_name_country'
+psql -q -d nominatim -c 'VACUUM ANALYSE planet_osm_ways'
 
 for i in `seq 0 246`; do
-  psql -d nominatim -c "VACUUM ANALYSE search_name_${i}" >/dev/null
+  psql -q -d nominatim -c "VACUUM ANALYSE search_name_${i}"
 done