PostgreSQL Rename Table
The RazorSQL alter table tool includes a Rename Table option for renaming an PostgreSQL database table. The rename table option allows the user to type in a new name for the table being renamed. The tool then generates and can execute the SQL to rename the PostgreSQL database table.
Listed below is an example of the SQL generated by the PostgreSQL Rename Table function:
ALTER TABLE sample.public.employee RENAME TO employee_copy
Below is a screen shot of the rename table function of the PostgreSQL alter table tool.