Filter:

Commits on May 28, 2010

Commits4 commits of which 2 backported
0Author
4Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterAbort a FETCH_COUNT-controlled query if we observe any I/O error on the output stream. This typically indicates that the user quit out of $PAGER, or that we are writing to a file and ran out of disk space. In either case we shouldn't bother to continue fetching data.
47d6d448
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 28, 2010
CommitterFix oversight in the previous patch that made LIKE throw error for \ at the end of the pattern: the code path that handles \ just after % should throw error too. As in the previous patch, not back-patching for fear of breaking apps that worked before.
ece869b1
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 28, 2010
CommitterBackportedRewrite LIKE's %-followed-by-_ optimization so it really works (this time for sure ;-)). It now also optimizes more cases, such as %_%_. Improve comments too. Per bug #5478.
dbde97cd
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+12 more
No linked threadMay 28, 2010
CommitterBackportedRejigger mergejoin logic so that a tuple with a null in the first merge column is treated like end-of-input, if nulls sort last in that column and we are not doing outer-join filling for that input. In such a case, the tuple cannot join to anything from the other input (because we assume mergejoinable operators are strict), and neither can any tuple following it in the sort order. If we're not interested in doing outer-join filling we can just pretend the tuple and its successors aren't there at all. This can save a great deal of time in situations where there are many nulls in the join column, as in a recent example from Scott Marlowe. Also, since the planner tends to not count nulls in its mergejoin scan selectivity estimates, this is an important fix to make the runtime behavior more like the estimate.
f39d57b8
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+12 more
No linked threadMay 28, 2010