Gregory Stark <stark@enterprisedb.com> writes:
> What about a merge join against an empty table? I suppose there would just be
> no statistics?
Yeah. The defenses against silly results in mergejoinscansel should be
enough to prevent it from doing anything really insane.
regards, tom lane