Hi, Recently, I've decided to simplify the code of an application, to do that, I migrate complex part to plpgsql function. I'd like to tune those functions, how can I do that ? How can I get the executed SQL inside a function ?? Thanks in advance, D.