postgresql change table name code example
Example 1: rename table postgres
ALTER TABLE table_name
RENAME TO new_table_name;
Example 2: how to update column name in psql
ALTER TABLE table_name
RENAME COLUMN old_name TO new_name;
Example 3: psql filed name alter
ALTER TABLE table_name
RENAME column_name TO new_column_name;