Categories
mysql postgresql

Postgres query error

I have a query in postgres

insert into c_d (select * from cd where ak = '22019763');

And I get the following error

ERROR:  column "region" is of type integer but expression is of type character varying
HINT: You will need to rewrite or cast the expression.