Re: Trying to understand odd trigger behavior

2018-06-17 Thread Bruno Wolff III
On Thu, Jun 14, 2018 at 23:04:24 -0500, Bruno Wolff III wrote: I have a perl after insert trigger for a table with a non-null column element and I am getting an occasional error when the trigger executes for printing a null value which is $TD->{new}{element}. However, I do the insert with a

Re: Trying to understand odd trigger behavior

2018-06-15 Thread Bruno Wolff III
On Fri, Jun 15, 2018 at 08:54:52 +0200, Laurenz Albe wrote: Bruno Wolff III wrote: I think I know what is happening, but I wanted to see if my understanding is correct. I have a perl after insert trigger for a table with a non-null column element and I am getting an occasional error when the

Re: Trying to understand odd trigger behavior

2018-06-15 Thread Bruno Wolff III
On Fri, Jun 15, 2018 at 08:54:52 +0200, Laurenz Albe wrote: Absolutely, but it should be easy to run a few tests with only a single row insert that confirms your theory. Thanks.

Re: Trying to understand odd trigger behavior

2018-06-14 Thread Laurenz Albe
Bruno Wolff III wrote: > I think I know what is happening, but I wanted to see if my understanding > is correct. > > I have a perl after insert trigger for a table with a non-null column element > and I am getting an occasional error when the trigger executes for > printing a null value which i