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

expression_tree_walker() and primitive node types

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: expression_tree_walker() and primitive node types
Date: 2007-10-12 06:16:43
Message-ID: 1192169803.9420.6.camel@goldbach (view raw or flat)
Thread:
Lists: pgsql-bugs
I wouldn't call this behavior buggy, but I found it somewhat surprising.

expression_tree_walker() assumes that the walker has already been
invoked on the current node (the node that a given recursive call of
expression_tree_walker() has been invoked on). Therefore, calling
expression_tree_walker() on a primitive node type, such as a Var, is a
no-op.



Responses

pgsql-bugs by date

Next:From: KODAMA, ToshihitoDate: 2007-10-12 08:23:30
Subject: Win XP(SP2) install error
Previous:From: Tom LaneDate: 2007-10-11 22:17:59
Subject: Re: Deferred FK / PK deletion problems

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