Filter:

Commits on November 08, 2006

Commits4 commits
0Author
4Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterChange Windows rename and unlink substitutes so that they time out after 30 seconds instead of retrying forever. Also modify xlog.c so that if it fails to rename an old xlog segment up to a future slot, it will unlink the segment instead. Per discussion of bug #2712, in which it became apparent that Windows can handle unlinking a file that's being held open, but not renaming it.
dcbdf9b1
master8.2rc1REL_19_STABLE8.2rc1REL_18_STABLE8.2rc1REL_17_STABLE8.2rc1REL_16_STABLE8.2rc1REL_15_STABLE8.2rc1REL_14_STABLE8.2rc1REL_13_STABLE8.2rc1+18 more
No linked threadNov 08, 2006
CommitterModify aset.c to track the next intended block allocation size explicitly. The former coding relied on the actual allocated size of the last block, which made it behave strangely if the first allocation in a context was larger than ALLOC_CHUNK_LIMIT: subsequent allocations would be referenced to that and not to the intended series of block sizes. Noted while studying a memory wastage gripe from Tatsuo.
808b3190
master8.2rc1REL_19_STABLE8.2rc1REL_18_STABLE8.2rc1REL_17_STABLE8.2rc1REL_16_STABLE8.2rc1REL_15_STABLE8.2rc1REL_14_STABLE8.2rc1REL_13_STABLE8.2rc1+18 more
No linked threadNov 08, 2006
CommitterTweak accumArrayResult() to double the size of its working arrays when more space is needed, instead of incrementing by a fixed amount; the old method wastes lots of space and time when the ultimate size is large. Per gripe from Tatsuo.
fc5eb3f6
master8.2rc1REL_19_STABLE8.2rc1REL_18_STABLE8.2rc1REL_17_STABLE8.2rc1REL_16_STABLE8.2rc1REL_15_STABLE8.2rc1REL_14_STABLE8.2rc1REL_13_STABLE8.2rc1+18 more
No linked threadNov 08, 2006
CommitterFix performance issues in replace_text(), replace_text_regexp(), and text_to_array(): they all had O(N^2) behavior on long input strings in multibyte encodings, because of repeated rescanning of the input text to identify substrings whose positions/lengths were computed in characters instead of bytes. Fix by tracking the current source position as a char pointer as well as a character-count. Also avoid some unnecessary palloc operations. text_to_array() also leaked memory intracall due to failure to pfree temporary strings. Per gripe from Tatsuo Ishii.
a5cf12e2
master8.2rc1REL_19_STABLE8.2rc1REL_18_STABLE8.2rc1REL_17_STABLE8.2rc1REL_16_STABLE8.2rc1REL_15_STABLE8.2rc1REL_14_STABLE8.2rc1REL_13_STABLE8.2rc1+18 more
No linked threadNov 08, 2006