Lowell Hought <lowell.hought@gmail.com> writes:
> Changing that parameter had no effect on the version 17 instance. The
> query itself produces results in a matter of a second or so, but the
> function still hangs and does not return.
Darn. But I'm still pretty sure that the problem is an undesirable
change of plan, and that we don't have enough information to say
more than that. Any chance you could extract a self-contained
test case?
regards, tom lane