On Thursday, February 6, 2025, Chris Cleveland <
ccleveland@dieselpoint.com> wrote:
I solved the problem with:
CREATE FUNCTION myfunc ... RETURNS Token[] ... SET search_path to rdb;
I still don't know why it happens in the first place, though.
Because you are in the habit of not schema-qualifying object references and thus choose to rely on search_path. Your choice, the SET clause is here for you.
David J.