postgresql/src/include/tcop
Tom Lane 9bedd128d6 Add support for invoking parser callback hooks via SPI and in cached plans.
As proof of concept, modify plpgsql to use the hooks.  plpgsql is still
inserting $n symbols textually, but the "back end" of the parsing process now
goes through the ParamRef hook instead of using a fixed parameter-type array,
and then execution only fetches actually-referenced parameters, using a hook
added to ParamListInfo.

Although there's a lot left to be done in plpgsql, this already cures the
"if (TG_OP = 'INSERT' and NEW.foo ...)"  problem, as illustrated by the
changed regression test.
2009-11-04 22:26:08 +00:00
..
dest.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
fastpath.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pquery.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tcopdebug.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tcopprot.h Add support for invoking parser callback hooks via SPI and in cached plans. 2009-11-04 22:26:08 +00:00
utility.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00