Alvaro Herrera <alvherre@commandprompt.com> writes:
> Alex Vinogradovs wrote:
>> I mean I re-create the function with the same signature but
>> different body, and when the application invokes that function
>> again, it starts getting those errors.
> Are you using CREATE OR REPLACE FUNCTION, or DROP FUNCTION followed by
> CREATE FUNCTION?
Perhaps more to the point, we need to see a complete example. I don't
see how either way of changing a plpgsql function would result in the
described error.
regards, tom lane