Re: alter table rename column can event trigger capture new column name

Поиск
Список
Период
Сортировка
От jian he
Тема Re: alter table rename column can event trigger capture new column name
Дата
Msg-id CACJufxFyK_H4CDz6hQX77bNiZchzd-VTveMuz19=ksDWszDO_A@mail.gmail.com
обсуждение исходный текст
Список pgsql-general


On Mon, Apr 24, 2023 at 10:46 AM jian he <jian.universality@gmail.com> wrote:

hi.
alter table t1 rename col1 to id.

Is it possible to use an event trigger to capture the new column name "id"? 



sorry for the noise. 
I figured it out. 
substring(_object_identity FROM (LENGTH(_object_identity) + 2 - STRPOS(REVERSE(_object_identity), '.')))

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

Предыдущее
От: jian he
Дата:
Сообщение: alter table rename column can event trigger capture new column name
Следующее
От: Garfield Lewis
Дата:
Сообщение: Re: [EXT] Re: SCROLLABLE/UPDATABLE cursor question