File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ typedef struct plperl_proc_desc
113113
114114/**********************************************************************
115115 * 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.
117117 * The reason the plperl_proc_desc struct isn't directly part of the hash
118118 * entry is to simplify recovery from errors during compile_plperl_function.
119119 *
@@ -127,11 +127,6 @@ typedef struct plperl_proc_desc
127127typedef struct plperl_proc_key
128128{
129129 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? */
135130 Oid user_id ; /* User calling the function, or 0 */
136131} plperl_proc_key ;
137132
@@ -1959,7 +1954,6 @@ compile_plperl_function(Oid fn_oid, bool is_trigger)
19591954
19601955 /* Try to find function in plperl_proc_hash */
19611956 proc_key .proc_id = fn_oid ;
1962- proc_key .is_trigger = is_trigger ;
19631957 proc_key .user_id = GetUserId ();
19641958
19651959 proc_ptr = hash_search (plperl_proc_hash , & proc_key ,
You can’t perform that action at this time.
0 commit comments