| Committer | Avoid incrementing the CommandCounter when CommandCounterIncrement is called but no database changes have been made since the last CommandCounterIncrement. This should result in a significant improvement in the number of "commands" that can typically be performed within a transaction before hitting the 2^32 CommandId size limit. In particular this buys back (and more) the possible adverse consequences of my previous patch to fix plan caching behavior. 895a94de | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 30, 2007 |
| Committer | Repair bug that allowed RevalidateCachedPlan to attempt to rebuild a cached plan before the effects of DDL executed in an immediately prior SPI operation had been absorbed. Per report from Chris Wood. f0f18c70 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 30, 2007 |
| Committer | Make a cleanup pass over error reports in tsearch code. Use ereport for user-facing errors, fix some poor choices of errcode, adhere to message style guide. bb0e3011 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 28, 2007 |
| Committer | Improve test coverage of CLOBBER_CACHE_ALWAYS by having it also force reloading of operator class information on each use of LookupOpclassInfo. Had this been in place a year ago, it would have helped me find a bug in the then-new 'operator family' code. Now that we have a build farm member testing CLOBBER_CACHE_ALWAYS on a regular basis, it seems worth expending a little bit of effort here. 03ffc4d6 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 28, 2007 |
| Committer | Adjust the names of a couple of tsearch index support functions that had inappropriately generic-sounding names. This is more or less free since we already forced initdb for the next beta, and it may prevent confusion or name conflicts (particularly at the C-global-symbol level) down the road. Per my proposal yesterday. 11fccbea | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 28, 2007 |
| Committer | Install a lookaside cache to speed up repeated lookups of the same operator by short-circuiting schema search path and ambiguous-operator resolution computations. Remarkably, this buys as much as 45% speedup of repetitive simple queries that involve operators that are not an exact match to the input datatypes. It should be marginally faster even for exact-match cases, though I've not had success in proving an improvement in benchmark tests. Per report from Guillame Smet and subsequent discussion. d54ca567 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 28, 2007 |
| Committer | Fix plpgsql to not lookup block labels except in contexts where a block label is sane (eg, EXIT argument or first part of a qualified identifier), and cause more-closely-nested record variables to take precedence over outer block labels. This cures the breakage exhibited by Marko Kreen that 8.3 no longer allowed a function's name to be used for a variable within the function, and makes plpgsql's handling of block labels more like Oracle's. It's important to fix this now because we are documenting the use of block labels as variable qualifiers for the first time in 8.3. a54d3fb2 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 27, 2007 |
| Committer | Fix pg_regress to check the directory it is actually reading files from, not the image that (theoretically) should exist in the current directory. 42fd80de | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 27, 2007 |
| Committer | Add quote_literal(anyelement) to preserve (and, in fact, extend) a useful consequence of the former liberal implicit casting to text; namely that you can feed non-string values to quote_literal() and get unsurprising results. Per discussion. 3f899642 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 27, 2007 |
| Committer | Suppress compiler warning. 66d7bbf6 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 27, 2007 |
| Committer | Fix select_common_type() so that it can select a domain type, if all inputs to a UNION, CASE, or related construct are of the same domain type. The main part of this routine smashes domains to their base types, which seems necessary because the logic involves TypeCategory() and IsPreferredType(), neither of which work usefully on domains. However, we can add a first pass that just detects whether all the inputs are exactly the same type, and if so accept that without question (so long as it's not UNKNOWN). Per recent gripe from Dean Rasheed. 07daff63 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 26, 2007 |
| Committer | Fix thinko in comment. 66b1f4da | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 25, 2007 |
| Committer | Reduce routine successful-archiving message from LOG to DEBUG1 grade, to reduce chattiness of logs. Per discussion. Simon Riggs 86be19bf | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Fix (I think) broken usage of MultiByteToWideChar. I had missed the subtlety that this function only returns a null terminator if it's fed input that includes one; which, in the usage here, it's not. This probably fixes bugs reported by Thomas Haegi. ae3ff7ad | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Slightly more paranoia and slightly better comments for use of Windows-specific MultiByteToWideChar/WideCharToMultiByte calls. 0f20e7a8 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Add missed entry for new money regression test. ffd87212 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Move resetting of currSchema to a spot where it's not vulnerable to getting missed in possible future partial-drop scenarios. Improve comment. Per report from Zoltan Boszormenyi. 229d406a | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Save another little bit of planner overhead on simple queries, by having clauselist_selectivity skip some analysis that's useless when there's only one clause in the given list. Actually this can win even for not-so-simple queries, because we also apply clauselist_selectivity to sublists such as the quals matching an index; which are likely to have only a single entry even when the total query is quite complicated. aca467b9 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Change fix_scan_expr() to avoid copying the input node tree in the common case where rtoffset == 0. In that case there is no need to change Var nodes, and since filling in unset opfuncid fields is always safe, scribbling on the input tree to that extent is not objectionable. This brings the cost of this operation back down to what it was in 8.2 for simple queries. Per investigation of performance gripe from Guillaume Smet. a36436ea | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 24, 2007 |
| Committer | Avoid uselessly building a duplicate of the original clause in trivial cases where the EquivalenceClass machinery is unable to deduce anything more from a simple "var = const" qual clause. There are probably some more cases where this could be done, but this seems to take care of most of the added overhead for simple queries. Per gripe from Guillaume Smet. 92c0bf09 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 23, 2007 |
| Committer | Actually ... it's pretty silly that parse_oper.c doesn't set up the opfuncid of an OpExpr initially, considering that it has the information at hand already. We'll still treat opfuncid as a cache rather than a guaranteed-valid value, but this change saves one more syscache lookup in the normal code path. ef48ed4c | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 22, 2007 |
| Committer | Save one syscache lookup when examining volatility or strictness of OpExpr and related nodes. We're going to have to set the opfuncid of such nodes eventually (if we haven't already), so we might as well exploit the opportunity to cache the function OID. Buys back some of the extra planner overhead noted by Guillaume Smet, though I still need to fool with equivclass.c to really respond to that. 6342f36d | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 22, 2007 |
| CommitterBackported | Prevent Perl from introducing a possibly-incompatible definition of type "bool" into plperl.c. This has always been a hazard since Perl allows a platform-specific choice to define bool as int rather than char, but evidently this didn't happen on any platform we support ... until OS X 10.5. Per report from Brandon Maust. f608f3b8 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+20 more | No linked thread | Nov 22, 2007 |
| Committer | Clarify the syntax rules for raw tsvector input. fec1d72d | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 21, 2007 |
| Committer | Fix bogus length calculation that could lead to crash if the string happened to be right up against the end of memory, per report from Matt Magoffin. While at it, avoid useless multiple copying of string by not depending on xmlStrncatNew. d23ba77a | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 20, 2007 |
| Committer | Fix some missed usages of 'HTML tag' and 'HTML entity'. e66d0c62 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 20, 2007 |
| Committer | Improve description of implicit-text-casting compatibility issue. A bunch of other desultory copy-editing, too. d4205295 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 19, 2007 |
| Committer | Minor improvement in documentation of temp_tablespaces: avoid grammatical ambiguity and say what the default value is. 3ebb8867 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 19, 2007 |
| Committer | Remove no-longer-accurate claim that REINDEX won't invalidate cached plans. 7129f26b | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 18, 2007 |
| Committer | Improve GIN index build's tracking of memory usage by using GetMemoryChunkSpace, not just the palloc request size. This brings the allocatedMemory counter close enough to reality (as measured by MemoryContextStats printouts) that I think we can get rid of the arbitrary factor-of-2 adjustment that was put into the code initially. Given the sensitivity of GIN build to work memory size, not using as much of work memory as we're allowed to seems a pretty bad idea. 6f4cfe48 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 16, 2007 |
| CommitterBackported | GIN index build's allocatedMemory counter needs to be long, not uint32. Else, in a 64-bit machine with maintenance_work_mem set to above 4Gb, the counter overflows and we never recognize having reached the maintenance_work_mem limit. I believe this explains out-of-memory failure recently reported by Sean Davis. 16dcd5e5 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+18 more | No linked thread | Nov 16, 2007 |
| Committer | Repair still another bug in the btree page split WAL reduction patch: it failed for splits of non-leaf pages because in such pages the first data key on a page is suppressed, and so we can't just copy the first key from the right page to reconstitute the left page's high key. Problem found by Koichi Suzuki, patch by Heikki. 93190c30 | master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more | No linked thread | Nov 16, 2007 |
| Committer | Fix markup that doesn't work in HISTORY generation. 2f1e7ffb | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 16, 2007 |
| Committer | Re-do configure with autoconf 2.59 7c0bc953 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 16, 2007 |
| Committer | Add a couple of notes pointing out that GIN index build time is very sensitive to maintenance_work_mem (something I just learned the hard way). fb8b38e4 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 16, 2007 |
| Committer | Fix stupid typo in recently-added code :-( eae7e00f | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 16, 2007 |
| Committer | Add snb_ru_init(internal) to list of stub functions in tsearch2 compatibility module. Needed to support loading of 8.1-era tsearch2 configuration data. f00d75b8 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 16, 2007 |
| Committer | Use ftruncate() not truncate() in mdunlink. Seems Windows doesn't support the latter. 591b9b09 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 15, 2007 |
| CommitterBackported | Update timezone data files to release 2007i of the zic database. d788c922 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+20 more | No linked thread | Nov 15, 2007 |
| Committer | Prevent re-use of a deleted relation's relfilenode until after the next checkpoint. This guards against an unlikely data-loss scenario in which we re-use the relfilenode, then crash, then replay the deletion and recreation of the file. Even then we'd be OK if all insertions into the new relation had been WAL-logged ... but that's not guaranteed given all the no-WAL-logging optimizations that have recently been added. 6cc4451b | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 15, 2007 |
| Committer | Adjust example to reduce confusion between a tsvector column and an index, per Simon. a1715ac8 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness of this seems a bit marginal, if it's useful enough to be shown in the manual then we probably ought to support doing it without double evaluation of the ts_rank function. Per my proposal earlier today. 866bad95 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Fix incorrect calculation of elapsed_xlogs. Itagaki Takahiro 5858990f | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Add an Accept parameter to "simple" dictionaries. The default of true gives the old behavior; selecting false allows the dictionary to be used as a filter ahead of other dictionaries, because it will pass on rather than accept words that aren't in its stopword list. Jan Urbanski ca450a07 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Update discussion of tsearch2 migration. I'm not entirely sure about the division of material between here and the tsearch2 contrib page, but at least it's not obviously unfinished any more. de085820 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Move contrib docs to an appendix (next door to External Projects). Change title to Additional Supplied Modules. Improve discussion of how to build and install 'em. 42e3ab3f | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Clean up some now-obsolete references to GBorg. 21fec149 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Add some quick documentation for tsearch2 compatibility module. 4c2d0cd5 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 14, 2007 |
| Committer | Clean up some stray references to tsearch2. b40c0a4b | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | contrib/tsearch2 need not be special-cased any longer. 07c23731 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Resurrect the code for the rewrite(ARRAY[...]) aggregate function, and put it into contrib/tsearch2 compatibility module. 4394c1b0 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Ooops, missed one file to remove. abd183e4 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Update description of contrib/tsearch2. 7341a0a0 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Re-add contrib/tsearch2 to the set of buildable contrib modules. f8525209 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Replace the now-incompatible-with-core contrib/tsearch2 module with a compatibility package. This supports importing dumps from past versions using tsearch2, and provides the old names and API for most functions that were changed. (rewrite(ARRAY[...]) is a glaring omission, though.) 90e3f2ac | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Fix a few contrib regression test scripts that hadn't gotten the word about best practice for including the module creation scripts: to wit that you should suppress NOTICE messages. This avoids creating regression failures by adding or removing comment lines in the module scripts. 30e2c42e | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Fix more script breakage. 1afbbcac | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Fix insufficient search-path paranoia in SQL function definitions. Remove setting of search_path in install/uninstall scripts, since unlike other contrib modules this one does not want to let you change the installation schema. e0b15e27 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Undo damage from yesterday's script "cleanup". 15fecdec | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | I find that an out-of-the-box installation of OSSP uuid 1.6.0 installs itself as libuuid, not libossp-uuid which was the only case expected by our build support. Install a configure test to determine which name to use (and to check that the library is present at all). 1ef648cf | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 13, 2007 |
| Committer | Ensure that typmod decoration on a datatype name is validated in all cases, even in code paths where we don't pay any subsequent attention to the typmod value. This seems needed in view of the fact that 8.3's generalized typmod support will accept a lot of bogus syntax, such as "timestamp(foo)" or "record(int, 42)" --- if we allow such things to pass without comment, users will get confused. Per a recent example from Greg Stark. 0bd4da23 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 11, 2007 |
| Committer | Add an example of a SQL function with output parameters returning multiple rows. I had thought this case was covered, but there was no example in the obvious section to look in. c6722d72 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 10, 2007 |
| Committer | Add missing closing / in xsd:restriction, and remove some unnecessary spaces for consistency. Per bug #3734 from Ben Leslie; fix by Euler Taveira de Oliveira. 2b477a2c | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 10, 2007 |
| Committer | xmlGetUTF8Char()'s second argument is both input and output. Fix uninitialized value, and avoid invoking the function nine separate times in the pg_xmlIsNameChar macro. Should resolve buildfarm failures. Per report from Ben Leslie. d2d52bbb | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 10, 2007 |
| Committer | Recognize RETURN QUERY via a textual test, so that QUERY doesn't need to be a plpgsql keyword. This avoids springing a new reserved word on plpgsql programmers. For consistency, handle RETURN NEXT the same way. e5fe2e84 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 09, 2007 |
| Committer | Add an expected-results file to get regression to pass cleanly in sv_SE locale, which sorts a bit differently. Per recent gripe from Magnus. 08330811 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 09, 2007 |
| Committer | Clean up ts_locale.h/.c. Fix broken and not-consistent-across-platforms behavior of wchar2char/char2wchar; this should resolve bug #3730. Avoid excess computations of pg_mblen in t_isalpha and friends. Const-ify APIs where possible. 654dcfb9 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 09, 2007 |
| CommitterBackported | Second pass at improving LIKE/regex estimation in non-C locales. It turns out that it's actually quite likely that a string that is an extension of the given prefix will sort as larger than the "greater" string our previous code created. To provide some defense against that, do the comparisons against a modified string instead of just the bare prefix. We tack on "Z", "z", "y", or "9", whichever is seen as largest in the current locale. Testing suggests that this is sufficient at least for cases involving ASCII data. a96fa850 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+19 more | No linked thread | Nov 09, 2007 |
| CommitterBackported | If an index depends on no columns of its table, give it a dependency on the whole table instead, to ensure that it goes away when the table is dropped. Per bug #3723 from Sam Mason. c293ba9e | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+21 more | No linked thread | Nov 08, 2007 |
| Committer | Fix EquivalenceClass code to handle volatile sort expressions in a more predictable manner; in particular that if you say ORDER BY output-column-ref, it will in fact sort by that specific column even if there are multiple syntactic matches. An example is SELECT random() AS a, random() AS b FROM ... ORDER BY b, a; While the use-case for this might be a bit debatable, it worked as expected in earlier releases, so we should preserve the behavior for 8.3. Per my recent proposal. c291203c | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 08, 2007 |
| Committer | Last week's patch for make_sort_from_pathkeys wasn't good enough: it has to be able to discard top-level RelabelType nodes on *both* sides of the equivalence-class-to-target-list comparison, since make_pathkey_from_sortinfo might either add or remove a RelabelType. Also fix the latter to do the removal case cleanly. Per example from Peter. 1be06016 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 08, 2007 |
| CommitterBackported | Improve the performance of LIKE/regex estimation in non-C locales, by making make_greater_string() try harder to generate a string that's actually greater than its input string. Before we just assumed that making a string that was memcmp-greater was enough, but it is easy to generate examples where this is not so when the locale is not C. Instead, loop until the relevant comparison function agrees that the generated string is greater than the input. 2de946be | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+19 more | No linked thread | Nov 07, 2007 |
| CommitterBackported | Fix patternsel() and callers to do the right thing for NOT LIKE and the other negated-match operators. patternsel had been using the supplied operator as though it were a positive-match operator, and thus obtaining a wrong result, which was even more wrong after the caller subtracted it from 1. Seems cleanest to give patternsel an explicit "negate" argument so that it knows what's going on. Also install the same factorization scheme for pattern join selectivity estimators; even though they are just stubs at the moment, this may keep someone from making the same type of mistake when they get filled out. Per report from Greg Mullane. 95422871 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+18 more | No linked thread | Nov 07, 2007 |
| Committer | Some code review for xml.c: Add some more xml_init() calls that might not be necessary, but seem like a good idea to avoid possible problems like we saw in xmlelement(). Fix unsafe assumption that you can keep using the tupledesc of a relcache entry you don't have open. Add missing error checks for SearchSysCache failure. Get rid of handwritten array traversal in xpath() and O(N^2), broken-for-nulls array access code in map_sql_value_to_xml_value(), in favor of using deconstruct_array. Manually adjust a lot of line breaks in places where the code is otherwise gonna look pretty awful after pg_indent hacks it up (original author seems to have liked to lay out code for a 200-column window). 5e512971 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 06, 2007 |
| Committer | Fix xmlelement() to initialize libxml correctly before using it, and to avoid assuming that evaluation of its input expressions won't change the state of libxml. This requires refactoring xml_init() to not call xmlInitParser(), since now not all of its callers want that. I also tweaked things to avoid repeated execution of one-time-only tests inside xml_init(), though this is mostly for clarity rather than in hopes of saving any noticeable amount of runtime. Per report from Sheikh Amjad and subsequent discussion. In passing, fix a couple of inadequately schema-qualified queries. 85f807d7 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 05, 2007 |
| Committer | Fix deprecated-by-C-spec usage: storage class should come before const decoration. Zdenek Kotala bcb3852c | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 05, 2007 |
| Committer | Improve conversion of legacy CREATE CONSTRAINT TRIGGER representation of foreign keys, one more time. Insist on matching up all three triggers before we create a constraint; this will avoid creation of duplicate constraints in scenarios where a broken FK constraint was repaired by re-adding the constraint without removing the old partial trigger set. Basically, this will work nicely in all cases where the FK was actually functioning correctly in the database that was dumped. It will fail to restore an FK in just one case where we theoretically could restore it: where we find the referenced table's triggers and not the referencing table's trigger. However, in such a scenario it's likely that the user doesn't even realize he still has an FK at all (since the more-likely-to-fail cases aren't enforced), and we'd probably not accomplish much except to cause the reload to fail because the data doesn't meet the FK constraint. Also make the NOTICE logging still more verbose, by adding detail about which of the triggers were found. This seems about all we can do without solving the problem of getting the user's attention at session end. df870740 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 05, 2007 |
| Committer | Minor editorial improvements to txid functions' documentation: put back some text that got dropped, improve markup, improve descriptions of snapshot components. faac769a | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 05, 2007 |
| Committer | Add a note about another issue that needs to be considered before changing the TOAST size thresholds. a06ce21c | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 05, 2007 |
| Committer | Minor improvements to code for converting legacy CREATE CONSTRAINT TRIGGER commands into proper foreign-key constraints. Believe the constraint name given in the trigger arguments in preference to the trigger name --- to judge from Olivier Prenant's example, pg_dump must at some time have used the autogenerated trigger name there, though AFAICT no current release branch tip does. Improve the emitted NOTICEs to provide more detail (PK table's name and column names). Handle the case where pg_dump forgot to provide the FROM table (a bug that never did get fixed in 7.0.x apparently). This commit doesn't do anything about the question of what to do with incomplete trigger groups. 5e0377ae | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 04, 2007 |
| Committer | Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR enabled) and autovacuum is on. Since there will be a steady stream of autovac worker processes exiting and dropping gmon.out files, allowing them to make separate subdirectories results in serious bloat; and it seems unlikely that anyone will care about those profiles anyway. Limit the damage by forcing all autovac workers to dump in one subdirectory, PGDATA/gprof/avworker/. 69500b05 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 04, 2007 |
| Committer | Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key trigger definitions into regular foreign key constraints. This seems necessary given that some people evidently never did get around to running adddepend on their schemas, and without some sort of hack the old definitions will no longer work. Per report from Olivier Prenant and subsequent investigation. a2899ebd | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 04, 2007 |
| Committer | Ensure that EquivalenceClasses generated from ORDER BY keys contain proper RelabelType nodes when the sort key is binary-compatible with the sort operator rather than having exactly its input type. We did this correctly for index columns but not sort keys, leading to failure to notice that a varchar index matches an ORDER BY request. This requires a bit more work in make_sort_from_pathkeys, but not anyplace else that I can find. Per bug report and subsequent discussion. 97ddfc96 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 02, 2007 |
| Committer | Some corrections/improvements to new acronym list. 9423be44 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 01, 2007 |
| Committer | Update shared-memory-size info for 8.2 branch. 132b004d | REL8_2_STABLE8.2.6 | No linked thread | Nov 01, 2007 |
| Committer | Update discussion of shared memory sizing for 8.3: adjust multipliers, mention autovacuum_max_workers. Minor copy-editing too. 388c7e28 | master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more | No linked thread | Nov 01, 2007 |