@@ -113,7 +113,7 @@ typedef struct plperl_proc_desc
113
113
114
114
/**********************************************************************
115
115
* For speedy lookup, we maintain a hash table mapping from
116
- * function OID +trigger flag + user OID to plperl_proc_desc pointers.
116
+ * function OID + user OID to plperl_proc_desc pointers.
117
117
* The reason the plperl_proc_desc struct isn't directly part of the hash
118
118
* entry is to simplify recovery from errors during compile_plperl_function.
119
119
*
@@ -127,11 +127,6 @@ typedef struct plperl_proc_desc
127
127
typedef struct plperl_proc_key
128
128
{
129
129
Oid proc_id ;/* Function OID */
130
- /*
131
- * is_trigger is really a bool, but declare as Oid to ensure this struct
132
- * contains no padding
133
- */
134
- Oid is_trigger ;/* is it a trigger function? */
135
130
Oid user_id ;/* User calling the function, or 0 */
136
131
}plperl_proc_key ;
137
132
@@ -1959,7 +1954,6 @@ compile_plperl_function(Oid fn_oid, bool is_trigger)
1959
1954
1960
1955
/* Try to find function in plperl_proc_hash */
1961
1956
proc_key .proc_id = fn_oid ;
1962
- proc_key .is_trigger = is_trigger ;
1963
1957
proc_key .user_id = GetUserId ();
1964
1958
1965
1959
proc_ptr = hash_search (plperl_proc_hash ,& proc_key ,