• Tom Lane's avatar
    Do not allow Unique nodes to be scanned backwards. The code claimed that it · 3d40d5e7
    Tom Lane authored
    would work, but in fact it didn't return the same rows when moving backwards
    as when moving forwards.  This would have no visible effect in a DISTINCT
    query (at least assuming the column datatypes use a strong definition of
    equality), but it gave entirely wrong answers for DISTINCT ON queries.
    3d40d5e7
execAmi.c 10.7 KB