pgsql: Do not allow Unique nodes to be scanned backwards. - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Do not allow Unique nodes to be scanned backwards.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Do not allow Unique nodes to be scanned backwards.  The code claimed that it
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/executor:
        execAmi.c (r1.75.4.2 -> r1.75.4.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execAmi.c?r1=1.75.4.2&r2=1.75.4.3)

pgsql-committers by date:

Previous
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Do not allow Unique nodes to be scanned backwards.
Next
From: [email protected] (User Mkz)
Date:
Subject: pgbouncer - pgbouncer: asynctest: check if result comes back ok