pgsql: Use only one hash entry for all instances of a pltcl trigger fun
pgsql: Use only one hash entry for all instances of a pltcl trigger fun
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Use only one hash entry for all instances of a pltcl trigger function. Like plperl and unlike plpgsql, there isn't any cached state that could depend on exactly which relation the trigger is being fired for. So we can use just one hash entry for all relations, which might save a little something. Alex Hunsaker Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=70a0160b07b66dc7fa1555c489330ea8fb58f8fe Modified Files -------------- src/pl/tcl/pltcl.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-)