"Mendola Gaetano" <mendola(at)bigfoot(dot)com> writes:> the function is immutable but is executed 3 times> ( one for each row).
So? Sounds to me like it's working as intended.
regards, tom lane