How to Rename a Table in PostgreSQL

alter table events rename to events_backup;
Cta

Better SQL for the people

Get more done with PopSQL and PostgreSQL