Martin Hart writes:
> I am wondering what the performance benefits are of implementing such a> function in C using the SPI vs plpgsql.
plpgsql is itself implemented in C using SPI. So you do the math.
-- Peter Eisentraut peter_e(at)gmx(dot)net