Filter:

Commits on October 25, 2008

Commits3 commits of which 2 backported
0Author
3Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBe a little smarter about qual handling for semi-joins: a qual that mentions only the outer side can be pushed down rather than having to be evaluated at the join.
aa0fb530
master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more
No linked threadOct 25, 2008
CommitterBackportedAdd a heuristic to transformAExprIn() to make it prefer expanding "x IN (list)" into an OR of equality comparisons, rather than x = ANY(ARRAY[...]), when there are Vars in the right-hand side. This avoids a performance regression compared to pre-8.2 releases, in cases where the OR form can be optimized into scans of multiple indexes. Limit the possible downside by preferring this form only when the list isn't very long (I set the cutoff at 32 elements, which is a bit arbitrary but in the right ballpark). Per discussion with Jim Nasby.
ddbe8dca
master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+18 more
No linked threadOct 25, 2008
CommitterBackportedFix an old bug in after-trigger handling: AfterTriggerEndQuery took the address of afterTriggers->query_stack[afterTriggers->query_depth] and hung onto it through all its firings of triggers. However, if a trigger causes sufficiently many nested query executions, query_stack will get repalloc'd bigger, leaving AfterTriggerEndQuery --- and hence afterTriggerInvokeEvents --- using a stale pointer.
d4a1e5b0
REL8_3_STABLE8.3.5REL8_2_STABLE8.2.11REL8_1_STABLE8.1.15REL8_0_STABLE8.0.19
No linked threadOct 25, 2008