Filter:

Commits in week 46 (Nov 06 - Nov 12, 2006)

Commits16 commits of which 1 backported
0Author
16Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterSuppress a few 'uninitialized variable' warnings that gcc emits only at -O3 or higher (presumably because it inlines more things). Per gripe from Mark Mielke.
a46ca619
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 11, 2006
CommitterFix pg_get_serial_sequence(), which could incorrectly return the name of an index on a serial column, rather than the name of the associated sequence. Fallout from recent changes in dependency setup for serials. Per bug #2732 from Basil Evseenko.
d13f372a
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 10, 2006
CommitterClean up some misleading references to %p being a full path, per Simon.
792d6edd
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 10, 2006
CommitterImprove formatting of PQexecParams argument descriptions, per Theo Kramer.
1456c5b5
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 10, 2006
CommitterEmphasize that immutable and stable functions are not allowed to modify the database. xfunc.sgml was already pretty definite on the point, but it doesn't hurt to make it clear here too.
2c2faa17
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 10, 2006
CommitterFix errors in key_column_usage.position_in_unique_constraint column recently added to information_schema (per a SQL2003 addition). The original coding failed if a referenced column participated in more than one pg_constraint entry. Also, it did not work if an FK relied directly on a unique index without any constraint syntactic sugar --- this case is outside the SQL spec, but PG has always supported it, so it's reasonable for our information_schema to handle it too. Per bug#2750 from Stephen Haberman.
33556af7
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 10, 2006
CommitterFix set_joinrel_size_estimates() to estimate outer-join sizes more accurately: we have to distinguish the effects of the join's own ON clauses from the effects of pushed-down clauses. Failing to do so was a quick hack long ago, but it's time to be smarter. Per example from Thomas H.
d19798e5
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 10, 2006
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
CommitterBackportedRepair bug #2694 concerning an ARRAY[] construct whose inputs are empty sub-arrays. Per discussion, if all inputs are empty arrays then result must be an empty array too, whereas a mix of empty and nonempty arrays should (and already did) draw an error. In the back branches, the construct was strict: any NULL input immediately yielded a NULL output; so I left that behavior alone. HEAD was simply ignoring NULL sub-arrays, which doesn't seem very sensible. For lack of a better idea it now treats NULL sub-arrays the same as empty ones.
f0395d50
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+21 more
No linked threadNov 06, 2006
CommitterRemove temporary Windows-specific debugging code; it seems the problem with fopen() not using FILE_SHARE_DELETE was indeed the bug we were after, given lack of recent reports.
36e012e7
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 06, 2006
CommitterUpdate release notes in preparation for RC1.
9c3f24bb
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 06, 2006
CommitterRevert to the pre-8.2 method of probing for libm, that is, always include it if it links properly. It seems too risky to assume that standard functions like pow() are not special-cased by the compiler. Per report from Andreas Lange that build fails on Solaris cc compiler with -fast. Even though we don't consider that a supported option, I'm worried that similar issues will arise with other compilers.
02f37bd8
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 06, 2006
CommitterGet rid of some unnecessary dependencies on DataDir: wherever possible, the backend should rely on its working-directory setting instead. Also do some message-style police work in contrib/adminpack.
74686b6d
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 06, 2006