pgsql/src/backend/utils/adt ruleutils.c - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/utils/adt ruleutils.c
Date
Msg-id 200104150314.f3F3EIC73690@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/04/14 23:14:18

Modified files:
    src/backend/utils/adt: ruleutils.c

Log message:
    Constant expressions that appear in ORDER BY, GROUP BY, DISTINCT ON
    lists should be reverse-compiled into targetlist index numbers, because
    that's the only interpretation the parser allows for a constant in these
    clauses.  (Ergo, the only way they could have gotten into the list in
    the first place is to have come from the targetlist; so this should always
    work.)  Per problem report from Peter E.


pgsql-committers by date:

Previous
From: Bruce Momjian - CVS
Date:
Subject: pgsql/doc TODO
Next
From: Tom Lane
Date:
Subject: pgsql/src Makefile.shlib