su - postgres -c 'psql -U postgres -d download -c "delete from Download_queue where status in ('5','7','8','113','123')"'