Re: Receivgin error while altering the table column datatype

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Receivgin error while altering the table column datatype
Дата
Msg-id CAKFQuwaFFvK4_am0czwSS86REnSE367j5muBm+E40f=jy2ei_A@mail.gmail.com
обсуждение исходный текст
Ответ на Receivgin error while altering the table column datatype  (Raghavendra Rao J S V <raghavendrajsv@gmail.com>)
Список pgsql-general
On Wed, Sep 25, 2019 at 5:08 AM Raghavendra Rao J S V <raghavendrajsv@gmail.com> wrote:
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?

Seems like a reasonable course of action, and simple enough to just experiment with on a test relation.
or is there any other way to resolve it.  

Doubtful

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: managing primary key conflicts while restoring data to table with existing data
Следующее
От: Ron
Дата:
Сообщение: Re: Upgrading old server