Revert removal of trigger flag from plperl function hash key.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plperl/expected/plperl_trigger.out | modified | +6 −0 |
| src/pl/plperl/plperl.c | modified | +7 −1 |
| src/pl/plperl/sql/plperl_trigger.sql | modified | +6 −1 |