OSDN Git Service

copyObject() and equal() now know about all parse-time node types,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2000 23:45:35 +0000 (23:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2000 23:45:35 +0000 (23:45 +0000)
commit4951a8826d4f7731c7650af447e673e210991189
treeea7ba24261e7e05cd9eec8ad32ae0ad5a28279cd
parent66fd8f854fdc3faa30e4015020268217b4bb6747
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.
src/backend/commands/trigger.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/backend/tcop/postgres.c