Marti Raudsepp <marti(at)juffo(dot)org> writes:
> Agreed. But I think it would be useful to add the length of the string
> being inserted; we already have it in the len variable.
Hm, maybe, but I'm having a hard time visualizing cases in which it
helps much.
regards, tom lane