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

pgsql/src/backend/parser analyze.c

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/parser analyze.c
Date: 2002-02-25 04:21:55
Message-ID: 20020225042155.D26894759CF@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql
Changes by:	momjian(at)postgresql(dot)org	02/02/24 23:21:55

Modified files:
	src/backend/parser: analyze.c 

Log message:
	This patch will allow arbitrary levels of analyze / rewriting
	by making the static variables extra_before and extra_after
	automatic so we can use recursion.
	
	It gets much easier to generate extra commands now, and one can rest
	assured that the extra commands will be properly analyzed/rewritten.
	
	Without this patch, if a command produced by transformation tries to
	use these static lists their first contents would be lost with
	unpredictable results.  I know I could fix this by just using nconc()
	instead of assignments, but the resulting order of the commands would
	not be exactly what one could expect.
	
	--
	Fernando Nasser


pgsql-committers by date

Next:From: Bruce Momjian - CVSDate: 2002-02-25 06:23:55
Subject: pgsql/doc TODO
Previous:From: Tom LaneDate: 2002-02-25 04:16:58
Subject: pgsql/contrib/intagg Makefile

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