Barry Lind <barry(at)xythos(dot)com> writes:> OK here is a test case:
Looks like a bug, all right --- I must have introduced this when I redidthe handling of JOIN aliases a few weeks ago. Will fix.
Thanks for the report.
regards, tom lane