In PostgreSQL if I need to rename and change a column data type, I run two separate queries to do so.
To rename:
AL
PostgreSQL: Alter table column name and data-type:
ALTER TABLE ALTER [ COLUMN ] column [ SET DATA ] TYPE data_type [ COLLATE collation ] [ USING expression ] RENAME [ COLUMN ] column TO new_column;
See ALTER TABLE.