Are funtions in plpgsql always slower than embedding sql queries in
string form in code like PHP?
I ran several tests and they seemed to always perform that way. I would
have thought the pre-planning would have made them faster.
Would re-writing the functions C make them faster than the embedded
queries?