Filter:

Commit activity

DecJanFebMarAprMayJunJulAugSepOctNovDec
Wk1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
Mon
Tue
Wed
Thu
Fri
Sat
Sun

Commits on January 10, 2006

Commits2 commits of which 1 backported
0Author
2Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterMinor code clarity improvement: AFAICS, estate.eval_econtext must be non-NULL during the guts of plpgsql_exec_trigger() and plpgsql_exec_function(). Therefore, we can remove the NULL check, per discussion on -patches.
8ea91ba1
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+18 more
No linked threadJan 10, 2006
CommitterBackportedIn PLy_function_build_args(), the code loops repeatedly, constructing one argument at a time and then inserting the argument into a Python list via PyList_SetItem(). This "steals" the reference to the argument: that is, the reference to the new list member is now held by the Python list itself. This works fine, except if an elog occurs. This causes the function's PG_CATCH() block to be invoked, which decrements the reference counts on both the current argument and the list of arguments. If the elog happens to occur during the second or subsequent iteration of the loop, the reference count on the current argument will be decremented twice.
c08c8529
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+20 more
No linked threadJan 10, 2006