| Committer | Improve pull_up_subqueries logic so that it doesn't insert unnecessary PlaceHolderVar nodes in join quals appearing in or below the lowest outer join that could null the subquery being pulled up. This improves the planner's ability to recognize constant join quals, and probably helps with detection of common sort keys (equivalence classes) as well. c59d8dd4 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 28, 2009 |
| Committer | Some more work on the 8.4 release notes. Document a few changes that Bruce apparently found uninteresting, and do minor wordsmithing on a number of the existing entries. 23a9ac61 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 26, 2009 |
| Committer | Remove Windows-specific definition of S_ISDIR(). This should not be here; if there are any Windows configurations where port/win32.h fails to provide the macro, it should be fixed in the latter file not here. 1d3a1613 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 26, 2009 |
| Committer | Typo fix. f5c572a8 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 26, 2009 |
| Committer | Update citext expected output to exactly match the real output, rather than having some whitespace discrepancy. Although whitespace is supposed to be ignored in our regression tests, for some reason buildfarm member spoonbill doesn't like it. 5efb84f2 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 26, 2009 |
| CommitterBackported | Fix the handling of sub-SELECTs appearing in the arguments of an outer-level aggregate function. By definition, such a sub-SELECT cannot reference any variables of query levels between itself and the aggregate's semantic level (else the aggregate would've been assigned to that lower level instead). So the correct, most efficient implementation is to treat the sub-SELECT as being a sub-select of that outer query level, not the level the aggregate syntactically appears in. Not doing so also confuses the heck out of our parameter-passing logic, as illustrated in bug report from Daniel Grace. 20a3ddbb | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+21 more | No linked thread | Apr 25, 2009 |
| Committer | Fix some more 'variable may be used uninitialized' warnings from gcc 4.4. 096a30b5 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 24, 2009 |
| Committer | Suppress some 'variable may be used uninitialized' warnings from gcc 4.4. 9563afaf | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 23, 2009 |
| Committer | Don't use the result of strcmp as if it were a boolean. A service of your local coding style police. b9e9775e | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 23, 2009 |
| Committer | Change the default value of max_prepared_transactions to zero, and add documentation warnings against setting it nonzero unless active use of prepared transactions is intended and a suitable transaction manager has been installed. This should help to prevent the type of scenario we've seen several times now where a prepared transaction is forgotten and eventually causes severe maintenance problems (or even anti-wraparound shutdown). 8d4f2ecd | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 23, 2009 |
| Committer | Remove the long-obsolete homebrew dl*() functions for AIX, in favor of just using the system functions all the time. (These files are now just copies of the osf.* files.) The homebrew functions were not getting used anyway on AIX versions that have dlopen(), that is 4.3 and up, so they are not needed on any AIX that is even remotely supported by the vendor anymore. We'd have probably left them here anyway, except some questions were raised about the copyright. f2cc453d | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 21, 2009 |
| Committer | Fix obsolete cross-reference (this file isn't called alpha.c anymore) fea16882 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 21, 2009 |
| Committer | Assorted portability fixes for Borland C, from Pavel Golub. ce53791b | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 19, 2009 |
| Committer | Rethink the idea of having plpgsql depend on parser/gram.h. Aside from the fact that this is breaking the MSVC build, it's probably not really a good idea to expand the dependencies of gram.h any further than the core parser; for instance the value of SCONST might depend on which bison version you'd built with. Better to expose an additional call point in parser.c, so move what I had put into pl_funcs.c into parser.c. Also PGDLLIMPORT'ify the reference to standard_conforming_strings, per buildfarm results. 85128e5d | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 19, 2009 |
| Committer | Fix de-escaping checks so that we will reject \000 as well as other invalidly encoded sequences. Per discussion of a couple of days ago. 22c92226 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 19, 2009 |
| CommitterBackported | Fix textsearch documentation examples to not recommend concatenating separate fields without putting a space between. Per gripe from Rick Schumeyer. c1c40e58 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+17 more | No linked thread | Apr 19, 2009 |
| Committer | Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from Stefan Kaltenbrunner. The most reasonable behavior (at least for the near term) seems to be to ignore the PlaceHolderVar and examine its argument instead. In support of this, change the API of pull_var_clause() to allow callers to request recursion into PlaceHolderVars. Currently estimate_num_groups() is the only customer for that behavior, but where there's one there may be others. 1d97c19a | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 19, 2009 |
| Committer | Revise plpgsql's scanner to process comments and string literals in a way more nearly matching the core SQL scanner. The user-visible effects are: 3a624e92 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 19, 2009 |
| Committer | Mention as a potential incompatibility the fact that SELECT DISTINCT, UNION, etc are no longer guaranteed to produce sorted output; per gripe from Ian Barwick. Also improve the release note entries about to_timestamp(), per Brendan Jurd. 7f2f798b | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 19, 2009 |
| Committer | Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka. b24c02ff | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 17, 2009 |
| CommitterBackported | Fix planner to restore its previous level of intelligence about pushing constants through full joins, as in d7a6a04d | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+17 more | No linked thread | Apr 16, 2009 |
| Committer | Fix broken {xufailed} production that made HEAD fail on select u&42 from table-with-a-u-column; Also fix missing SET_YYLLOC() in the {dolqfailed} production that I suppose this was based on. The latter is a pre-existing bug, but the only effect is to misplace the error cursor by one token, so probably not worth backpatching. 6a68f7fd | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 14, 2009 |
| Committer | Do some copy-editing on description of ts_headline(). bda9dc7e | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 14, 2009 |
| Committer | Make a copy-editing pass over the 8.4 release notes. 15aa0252 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 13, 2009 |
| Committer | Fix pg_dumpall so that when --clean is specified, it drops roles and tablespaces in an order that has some chance of working. Per a complaint from Kevin Bailey. e1e17e2a | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 11, 2009 |
| Committer | Add cross-references from the DECLARE and FETCH reference pages to the plpgsql documentation about cursors. Per a suggestion from Matthew Wakeling. 843c6546 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 10, 2009 |
| Committer | Update release notes through yesterday; some minor wordsmithing. 6c34acce | 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 thread | Apr 09, 2009 |
| CommitterBackported | Update time zone data files to tzdata release 2009e: DST law changes in Argentina/San_Luis, Cuba, Jordan (historical correction only), Morocco, Palestine, Syria, Tunisia. 6e4cd594 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+20 more | No linked thread | Apr 09, 2009 |
| Committer | Update GIN limitations documentation to match current reality. b6e42bdd | 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 thread | Apr 09, 2009 |
| Committer | Remove SQL-compatibility function cardinality(). It is not exactly clear how this ought to behave for multi-dimensional arrays. Per discussion, not having it at all seems better than having it with what might prove to be the wrong behavior. We can always add it later when we have consensus on the correct behavior. 06e27572 | 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 thread | Apr 09, 2009 |
| Committer | Treat EOF like \n for line-counting purposes in ParseConfigFile, per bug #4752. Fujii Masao b060c878 | 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 thread | Apr 09, 2009 |
| Committer | Fix the plpgsql memory leak exhibited in bug #4677. That leak was introduced by my patch of 2007-01-28 to use per-subtransaction ExprContexts/EStates: since we re-prepared any expression tree when the current subtransaction ID changed, we'd accumulate more and more leaked expression state trees in the outermost subtransaction if the same function was executed at multiple levels of subtransaction nesting. To fix, go back to the previous scheme where there was only one EState per transaction for simple plpgsql expressions. We really only need an ExprContext per subtransaction, not a whole EState, so it's possible to keep prepared expression state trees in the one EState throughout the transaction. This should be more efficient as well as not leaking memory for cases involving lots of subtransactions. 03cd7571 | 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 thread | Apr 09, 2009 |
| Committer | Remove psql's ancient hack that suppressed functions taking or returning cstring from the output of \df. Now that the default behavior is to exclude all system functions, the de-cluttering rationale for this behavior seems pretty weak; and it was always quite confusing/unhelpful if you were actually looking for I/O functions. (Not to mention if you were looking for encoding converters or other cases that might take or return cstring.) 4703250a | 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 thread | Apr 08, 2009 |
| Committer | Allow leading and trailing spaces around NaN in numeric_in. e0daf7fc | 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 thread | Apr 08, 2009 |
| CommitterBackported | Fix contrib/pg_freespacemap's underestimate of the number of pages it could find in the FSM. Per report from Dimitri Fontaine and Andrew Gierth. 03baf4dd | REL8_3_STABLE8.3.8REL8_2_STABLE8.2.14 | No linked thread | Apr 07, 2009 |
| Committer | Remove useless (leftover?) extern declaration. b89ab7e0 | 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 thread | Apr 07, 2009 |
| CommitterBackported | Defend against non-ASCII letters in fuzzystrmatch code. The functions still don't behave very sanely for multibyte encodings, but at least they won't be indexing off the ends of static arrays. bb6bbc32 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+21 more | No linked thread | Apr 07, 2009 |
| Committer | Add an optional parameter to pg_start_backup() that specifies whether to do the checkpoint in immediate or lazy mode. This is to address complaints that pg_start_backup() takes a long time even when there's no need to minimize its I/O consumption. 38706095 | 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 thread | Apr 07, 2009 |
| Committer | Document the fact that fuzzystrmatch doesn't work in multibyte encodings. e7c11056 | 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 thread | Apr 06, 2009 |
| Committer | Correct keywords table for status of COLLATE vs LC_COLLATE. 25a76c31 | 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 thread | Apr 06, 2009 |
| Committer | Change cardinality() into a C-code function, instead of a SQL-language alias for array_length(v,1). The efficiency gain here is doubtless negligible --- what I'm interested in is making sure that if we have second thoughts about the definition, we will not have to force a post-beta initdb to change the implementation. f2110a75 | 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 thread | Apr 05, 2009 |
| Committer | Make ExecInitExpr build the list of SubPlans found in a plan tree in order of discovery, rather than reverse order. This doesn't matter functionally (I suppose the previous coding dates from the time when lcons was markedly cheaper than lappend). However now that EXPLAIN is labeling subplans with IDs that are based on order of creation, this may help produce a slightly less surprising printout. eb4c723e | 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 thread | Apr 05, 2009 |
| Committer | Change EXPLAIN output so that subplans and initplans (particularly CTEs) are individually labeled, rather than just grouped under an "InitPlan" or "SubPlan" heading. This in turn makes it possible for decompilation of a subplan reference to usefully identify which subplan it's referencing. I also made InitPlans identify which parameter symbol(s) they compute, so that references to those parameters elsewhere in the plan tree can be connected to the initplan that will be executed. Per a gripe from Robert Haas about EXPLAIN output of a WITH query being inadequate, plus some longstanding pet peeves of my own. fbcce080 | 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 thread | Apr 05, 2009 |
| Committer | Remove a boatload of useless definitions of 'int optreset'. If we are using our own ports of getopt or getopt_long, those will define the variable for themselves; and if not, we don't need these, because we never touch the variable anyway. 27fbfd39 | 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 thread | Apr 05, 2009 |
| Committer | I had always wondered why pg_config.h.win32 claimed that Windows provides optreset. Current mastodon results prove that in fact it does not; it was only because getopt.c defined the variable anyway that things failed to fall over. 2227e2f1 | 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 thread | Apr 05, 2009 |
| Committer | Remove contrib/intarray's definitions of the <@ and @> operators, so that they don't cause confusion with the built-in anyarray versions of those operators. Adjust the module's index opclasses to support the built-in operators in place of the private ones. 65e758a4 | 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 thread | Apr 05, 2009 |
| Committer | Hmm, baiji thinks we need explicit 'extern' here. eb3a10b0 | 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 thread | Apr 04, 2009 |
| Committer | Make an attempt at fixing our current Solaris 11 breakage: add a configure probe for opterr (exactly like the one for optreset) and have getopt.c define the variables only if configure doesn't find them in libc. 1d26226d | 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 thread | Apr 04, 2009 |
| Committer | Remove the recently added node types ReloptElem and OptionDefElem in favor of adding optional namespace and action fields to DefElem. Having three node types that do essentially the same thing bloats the code and leads to errors of confusion, such as in yesterday's bug report from Khee Chin. 090173a3 | 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 thread | Apr 04, 2009 |
| Committer | A session that does not have any live snapshots does not have to be waited for when we are waiting for old snapshots to go away during a concurrent index build. In particular, this rule lets us avoid waiting for idle-in-transaction sessions. c973051a | 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 thread | Apr 04, 2009 |
| CommitterBackported | Rewrite interval_hash() so that the hashcodes are equal for values that interval_eq() considers equal. I'm not sure how that fundamental requirement escaped us through multiple revisions of this hash function, but there it is; it's been wrong since interval_hash was first written for PG 7.1. Per bug #4748 from Roman Kononov. 1c2d408c | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+21 more | No linked thread | Apr 04, 2009 |
| Committer | Improve obsolete comment. 591f2944 | 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 thread | Apr 04, 2009 |
| Committer | Make \dt \di and friends more consistent about the treatment of TOAST tables and indexes; to wit, never show either. (You can examine them with plain \d if you're really so inclined.) 81fc5df8 | 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 thread | Apr 04, 2009 |
| Committer | Minor wordsmithing on descriptions of some \d commands. dbca713c | 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 thread | Apr 04, 2009 |
| Committer | Add missing help output for \ef option. Andrew Gierth 5b021741 | 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 thread | Apr 03, 2009 |
| CommitterBackported | Use (unsigned char) cast in argument of pg_tolower(). Maybe it works on Windows without that, but we shouldn't put bad examples where people might copy them. Also, reformat slightly to improve the odds that pgindent won't go nuts on this. 5d7f6993 | 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 thread | Apr 03, 2009 |
| Committer | Add a comment documenting the question of whether PrefetchBuffer should try to protect an already-existing buffer from being evicted. This was left as an open issue when the posix_fadvise patch was committed. I'm not sure there's any evidence to justify more work in this area, but we should have some record about it in the source code. 1b2bb33a | 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 thread | Apr 03, 2009 |
| Committer | Defend against possible crash if a plpython function does not specify names for its arguments. Also add a regression test, since someone apparently changed every single plpython test case to use only named parameters; else we'd have noticed this sooner. cd331e4b | 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 thread | Apr 03, 2009 |
| Committer | Refactor ExecProject and associated routines so that fast-path code is used for simple Var targetlist entries all the time, even when there are other entries that are not simple Vars. Also, ensure that we prefetch attributes (with slot_getsomeattrs) for all Vars in the targetlist, even those buried within expressions. In combination these changes seem to significantly reduce the runtime for cases where tlists are mostly but not exclusively Vars. Per my proposal of yesterday. 85369f88 | 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 thread | Apr 02, 2009 |
| Committer | Minor code beautification/consolidation. 735cb969 | 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 thread | Apr 02, 2009 |
| Committer | Fix SetClientEncoding() to maintain a cache of previously selected encoding conversion functions. This allows transaction rollback to revert to a previous client_encoding setting without doing fresh catalog lookups. I believe that this explains and fixes the recent report of "failed to commit client_encoding" failures. c26ffb1e | 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 thread | Apr 02, 2009 |
| CommitterBackported | Fix GUC's reports of assign_hook failure to always include the parameter value we failed to assign, even in "can't happen" cases. Motivated by wondering what's going on in a recent trouble report where "failed to commit" did happen. 248891f0 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+17 more | No linked thread | Apr 02, 2009 |
| CommitterBackported | plpgsql's exec_simple_cast_value() mistakenly supposed that it could bypass casting effort whenever the input value was NULL. However this prevents application of not-null domain constraints in the cases that use this function, as illustrated in bug #4741. Since this function isn't meant for use in performance-critical paths anyway, this certainly seems like another case of "premature optimization is the root of all evil". 24a814f4 | 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 thread | Apr 02, 2009 |
| CommitterBackported | Improve pg_dump's query for retrieving BLOB comments to be more efficient when there are many blobs and not so many comments. Tamas Vincze bfd17f94 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+17 more | No linked thread | Apr 01, 2009 |
| Committer | Index some array functions, per Mario Splivalo. dff26735 | 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 thread | Apr 01, 2009 |
| Committer | Remove last references to the crypt auth method, per Andreas Scherbaum. 7cdfa488 | 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 thread | Apr 01, 2009 |