Below is the query:
alter table customer_master alter column pk_customer_id type character varying(20); I got the following error message:
ERROR: operator does not exist: character varying > integer HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
CREATE TABLE customer_master( pk_customer_id bigint NOT NULL, created_customer_name character varying(200) DEFAULT NULL::character varying, fk_deployment_id bigint NOT NULL, is_active integer ) here pk_customer_id is the primary key column for this table.