pgsql: Use only one hash entry for all instances of a pltcl trigger fun - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Use only one hash entry for all instances of a pltcl trigger fun
Date
Msg-id E1PDgBG-00018F-LK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Print a make warning when using GNU make older than 3.80
Next
From: Tom Lane
Date:
Subject: pgsql: Reduce recursion depth in recently-added regression test.