Обсуждение: pgsql/src/backend/nodes (copyfuncs.c equalfuncs.c)

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
  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.

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

От
Tom Lane
Дата:
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