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 3F567B74.3080005@lamundial.hn
Whole thread Raw
In response to Re: TCL trigger doesn't work after deleting a column  (Josué Maldonado <josue@lamundial.hn>)
Responses Re: TCL trigger doesn't work after deleting a column
Re: TCL trigger doesn't work after deleting a column
List pgsql-general
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.



pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Index not being used ?
Next
From: elein
Date:
Subject: Re: CPAN, P for postgresql [Re: LAST_DAY Function in Postgres]