Re: rename table and triggers

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: rename table and triggers
Дата
Msg-id AANLkTil2x9GSZYRhFnOi8YyzRioNDy21zlWoK0IBkl4W@mail.gmail.com
обсуждение исходный текст
Ответ на rename table and triggers  (Michele Petrazzo - Unipex <michele.petrazzo@unipex.it>)
Список pgsql-general
On Fri, Jun 18, 2010 at 1:41 PM, Michele Petrazzo - Unipex
<michele.petrazzo@unipex.it> wrote:
> now I just uncovered  a strange behavior from my point of view: I have a
> table with a trigger associated with its insert. If I rename that table, the
> trigger "follow" its parent.

The trigger is connected to the table, not the name of the table.  It
doesn't care what the name is.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unable to determine what has a particular OID
Следующее
От: David Fetter
Дата:
Сообщение: Re: use window as field name in 8.4