Re: TCL trigger doesn't work after deleting a column - Mailing list pgsql-general

From Josué Maldonado
Subject Re: TCL trigger doesn't work after deleting a column
Date
Msg-id 3F579DF0.1010503@lamundial.hn
Whole thread Raw
In response to Re: TCL trigger doesn't work after deleting a column  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-general
Hi Jan,

You are right, that's why the loop doesn't goes through all the columns.

Thanks.

Jan Wieck wrote:

> The arrays NEW and OLD only contain entries for attributes in the
> respective rows that are not NULL. The list $TG_relatts contains a list
> of all column names of the triggering relation with a leading empty
> element (to make the index in that list reflect pg_attribute.attnum).


--
Josué Maldonado.


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Optimizer picks an ineffient plan
Next
From: Jonathan Bartlett
Date:
Subject: Re: Replaceing records