Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> writes:
> Is there any performance difference in writing trigger function in SQL
> rather than PL/PgSQL?
SQL functions don't support being called as triggers, so performance
questions are a bit beside the point ...
regards, tom lane