Re: TCL trigger doesn't work after deleting a column

Поиск
Список
Период
Сортировка
От Ian Harding
Тема Re: TCL trigger doesn't work after deleting a column
Дата
Msg-id 3F56EE42.9000603@tpchd.org
обсуждение исходный текст
Ответ на Re: TCL trigger doesn't work after deleting a column  (Josué Maldonado <josue@lamundial.hn>)
Список pgsql-general
Nulls.  That's the only thing I can think of.

Josué Maldonado wrote:

> Noticed that the loop does not go through all fields:
>
> foreach id [array names NEW] {
>   elog NOTICE "ID tiene $id)"
>   elog NOTICE "OLD tiene $OLD($id)"
>   elog NOTICE "NEW tiene $NEW($id)"
> }
>
> foreach id [array names OLD] {
>   elog NOTICE "ID tiene $id)"
>   elog NOTICE "OLD tiene $OLD($id)"
>   elog NOTICE "NEW tiene $NEW($id)"
> }
>
> Both cases the loop skips some fields, any idea?
>
> Thanks.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings




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

Предыдущее
От: "Derrick Betts"
Дата:
Сообщение: SQL Error: pqReadData() -- read() failed: errno=0 No error
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum