update column name in postgres code example Example: psql filed name alter ALTER TABLE table_name RENAME column_name TO new_column_name;