Joe Conway <mail(at)joeconway(dot)com> writes:
> I can confirm this both on cvs tip (pulled after noon PST today) and 7.3
> stable branch. It is not related to dblink, but rather the backend. Here's a
> (contrived) script based on Kris's example to trigger it:
Ah, thanks for the simplified test case. This is undoubtedly my fault
... will look into it. It is probably somewhat related to the join
alias problem found yesterday (ie, somebody somewhere is trying to use
the wrong rangetable list to interpret a Var node).
regards, tom lane