On Mon, Dec 12, 2022, 09:28 PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:
> The following bug has been logged on the website:
>
> Bug reference: 17715
> Logged by: Benoît Fontaine
> Email address: benoitfontaine(dot)ba(at)gmail(dot)com
> PostgreSQL version: 14.5
> Operating system: debian
> Description:
>
> CREATE FUNCTION myfunc (p integer) RETURNS integer AS $$
> BEGIN
> RETURN square(p) + 1;
> END;
> $$ LANGUAGE plpgsql;
>
Schema qualify the function call so it can work regardless of the
search_path setting.
David J.
>