How to Rename a Table in PostgreSQL

alter table events rename to events_backup;
Cta

Get started with PostgreSQL and PopSQL in minutes