Thank you both for the thoughtful responses. Comments:
Re: NEW.* -- Thanks Igor for pointing out that my assumptions were totally
off base. Assumptions are tricky things!
Re: "Why can't the trigger call myFunc(new.colA, new.colB)" -- that would
definitely work, but I'd like to make the trigger
On Sat, 2015-01-31 at 00:04 -0500, Igor Tandetnik wrote:
> On 1/30/2015 10:44 PM, David Barrett wrote:
> > Is it possible to create a trigger that calls a custom function and passes
> > in NEW.*?
>
> Not literally NEW.* . You'll have to spell out individual columns as
> parameters.
>
> > 2) I'm
On 1/30/2015 10:44 PM, David Barrett wrote:
Is it possible to create a trigger that calls a custom function and passes
in NEW.*?
Not literally NEW.* . You'll have to spell out individual columns as
parameters.
2) I'm *assuming* if you pass a "*" into that function, it'll just call
that func
Is it possible to create a trigger that calls a custom function and passes
in NEW.*? To break that question down:
1) I know it's possible to create custom functions that take a variable
number of parameters.
2) I'm *assuming* if you pass a "*" into that function, it'll just call
that function wi
4 matches
Mail list logo