postgresql字符串类型转为int,bigint类型

ALTER TABLE position ALTER COLUMN f4nSET DATA TYPE BIGINT USING f4 :: BIGINTnn其中positon为表明,f4为列名