OSDN Git Service

Revert removal of trigger flag from plperl function hash key.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 31 Oct 2010 15:42:51 +0000 (11:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 31 Oct 2010 15:42:51 +0000 (11:42 -0400)
commit76b12e0af765b2ca2eeddcabdd5e7c22eda164da
tree7c33ae67ed542302f5055c41ef9baf58fd0e7da0
parent186cbbda8f8dc5e42f68fc7892f206a76d56a20f
Revert removal of trigger flag from plperl function hash key.

As noted by Jan Urbanski, this flag is in fact needed to ensure that the
function's input/result conversion functions are set up as expected.

Add a regression test to discourage anyone from making same mistake
in future.
src/pl/plperl/expected/plperl_trigger.out
src/pl/plperl/plperl.c
src/pl/plperl/sql/plperl_trigger.sql