Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group