The 'problem' is that, in the log file, I only see the top calling
function, the one that client called. Is there a way to tell postgres to
log all the nested functions?
smiply use:
raise log '....'
at the beginning of your functions.
will work.
depesz