How to Rename a Table in PostgreSQL

alter table events rename to events_backup;

Ready for a modern SQL editor?