How to Rename a Table in PostgreSQL

alter table events rename to events_backup;
database icon
Better SQL for the people
Get more done with PopSQL and PostgreSQL