Robert Haas writes:
> This part looks really strange to me. Here we have a nested loop
> whose outer side is estimated to produce 33 rows and whose outer side
> is estimated to produce 2 rows.
We have retained someone to help us troubleshoot the issue.
Once the issue has been resolved I will make sure to post our
findings.