pgsql/src/backend/nodes (copyfuncs.c equalfuncs.c)

Started by Tom Lane <>almost 26 years ago2 messagescomitters
Jump to latest
#1Tom Lane <>
tom_lane___@unknown.user

Date: Friday, August 11, 2000 @ 19:45:33
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/nodes
from hub.org:/home/projects/pgsql/tmp/cvs-serv17677/backend/nodes

Modified Files:
copyfuncs.c equalfuncs.c

----------------------------- Log Message -----------------------------

copyObject() and equal() now know about all parse-time node types,
including utility statements. Still can't copy or compare executor
state, but at present that doesn't seem to be necessary. This makes
it possible to execute most (all?) utility statements in plpgsql.
Had to change parsetree representation of CreateTrigStmt so that it
contained only legal Nodes, and not bare string constants.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tom Lane <> (#1)
Re: pgsql/src/backend/nodes (copyfuncs.c equalfuncs.c)

Tom Lane <tgl@hub.org> writes:

copyObject() and equal() now know about all parse-time node types,
including utility statements. Still can't copy or compare executor
state, but at present that doesn't seem to be necessary. This makes
it possible to execute most (all?) utility statements in plpgsql.

BTW, I forgot to credit Ian Turner with doing most of the legwork on
the copyObject changes ...

regards, tom lane