"Marc G. Fournier" <scrappy(at)hub(dot)org> writes:
> Okay, so I do have to create the FUNCTION first, I can't do it without?
Check.
> Can a TRIGGER pass an arg to the FUNCTION?
Yes, but only simple constant strings. (In this context, it might
make sense for the CREATE TRIGGER command to tell the function the
name of the specific sequence to increment.)
regards, tom lane