||Using Perl in PostgreSQL|
Response to: Performance
I have not benchmarked it. C triggers are probably always going to outperform anything else, not least because the language handlers for other languages need to perform some glue operations. My instict would be that perl might perform better than PL/PGSQL, and it might not, but in any case is still likely to be slower than C.