Michael Paquier <michael(at)paquier(dot)xyz> writes:
> An index expression that calls a function doing a scan of its parent
> table is a funky case for sure, but perhaps f5a465f1a074 would have
> been better with a test?
I wasn't excited about having a test case, but feel free to
add one if you think it's worth the cycles.
regards, tom lane