On Mon, Aug 19, 2013 at 4:27 AM, Vik Fearing <vik(dot)fearing(at)dalibo(dot)com> wrote:
> Yes, I would use a trigger for this.
>
> <snip>
>
This is definitely the right answer, but keep in mind that this will slow
down your inserts since it calls slow_function for each insert. Make sure
you can afford that performance hit.