Andrew Grossman <agrossman@gmail.com> writes:
> It looks like the same crash:
Yeah, I agree, create_plan_recurse is at fault there. Will fix it,
thanks for confirming!
Of course, the "fix" will just result in producing a "stack overflowed"
error instead of dumping core. There's still the question of why this
case worked for you before and doesn't now. Seemingly, current code
needs more stack to process this query than 9.5 did. Is it significantly
more, or were you just unlucky enough to overrun the limit when you'd
not quite done so before? And if it is significantly more, is there
anything we can reasonably do about that? These questions remain unclear
at this point.
regards, tom lane