postgres command to change column name code example Example: psql filed name alter ALTER TABLE table_name RENAME column_name TO new_column_name;