pgsql/src/backend/utils/adt ruleutils.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/utils/adt ruleutils.c
Date: 2001-04-15 03:14:18
Message-ID: 200104150314.f3F3EIC73690@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-04-15 03:25:07 pgsql/src Makefile.shlib
Previous Message Bruce Momjian - CVS 2001-04-15 01:56:08 pgsql/doc TODO