Drop the view old_report_view, the table old_report, and the table legacy_dump — but don't fail if any of them is already gone.
old_report_view
old_report
legacy_dump
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.