Receivgin error while altering the table column datatype - Mailing list pgsql-general

From Raghavendra Rao J S V
Subject Receivgin error while altering the table column datatype
Date
Msg-id CAEHH7R6ZVn0G33E8wFtJp_cHk=WffM0kA+idjr3OJ-QzR3GAPA@mail.gmail.com
Whole thread Raw
Responses Re: Receivgin error while altering the table column datatype
List pgsql-general
Hi All,

I am receiving below error while altering the table column datatype.

Reason:
SQL Error [0A000]: ERROR: cannot alter type of a column used in a trigger definition
  Detail: trigger extensiontrigger on table tele depends on column "phonenumber"

 
Do I need to drop the trigger and alter the table column to modify the datatype of the columns. Am I correct? or is there any other way to resolve it.  

--
Regards,
Raghavendra Rao J S V

pgsql-general by date:

Previous
From: Krishnakant Mane
Date:
Subject: managing primary key conflicts while restoring data to table withexisting data
Next
From: Миша Тюрин
Date:
Subject: pgq is one of the most underrated pg related stuff