| Committer | Write psql's ~/.psql_history file using history_truncate_file() and append_history(), if libreadline is new enough to have those functions (they seem to be present at least since 4.2; but libedit may not have them). This gives significantly saner behavior when two or more sessions overlap in their use of the history file; although having two sessions exit at just the same time is still perilous to your history. The behavior of \s remains unchanged, ie, overwrite whatever was there. Per bug #5052 from Marek Wójtowicz. e97281c4 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 13, 2009 |
| Committer | Rewrite the planner's handling of materialized plan types so that there is an explicit model of rescan costs being different from first-time costs. The costing of Material nodes in particular now has some visible relationship to the actual runtime behavior, where before it was essentially fantasy. This also fixes up a couple of places where different materialized plan types were treated differently for no very good reason (probably just oversights). 9bb34281 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 12, 2009 |
| Committer | Improve GRANT reference page's description of object ownership privileges by mentioning the possibility of granting membership in the owning role. 5f1b32dd | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 12, 2009 |
| Committer | Install a hopefully-temporary workaround for Snow Leopard readdir() bug. If Apple doesn't fix that reasonably soon, we'll have to consider back-patching a workaround; but for now, just hack it in HEAD so that we can get buildfarm reports on HEAD from OS X machines. Per Jan Otto. 325aeb4a | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 12, 2009 |
| CommitterBackported | Fix assertion failure when a SELECT DISTINCT ON expression is volatile. In this case we generate two PathKey references to the expression (one for DISTINCT and one for ORDER BY) and they really need to refer to the same EquivalenceClass. However get_eclass_for_sort_expr was being overly paranoid and creating two different EC's. Correct behavior is to use the SortGroupRef index to decide whether two references to volatile expressions that are equal() (ie textually equivalent) should be considered the same. d5a4b69c | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more | No linked thread | Sep 12, 2009 |
| Committer | Increase the maximum value of extra_float_digits to 3, and have pg_dump use that value when the backend is new enough to allow it. This responds to bug report from Keh-Cheng Chu pointing out that although 2 extra digits should be sufficient to dump and restore float8 exactly, it is possible to need 3 extra digits for float4 values. 8c5463a5 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 11, 2009 |
| CommitterBackported | Fix bug with WITH RECURSIVE immediately inside WITH RECURSIVE. 99% of the code was already okay with this, but the hack that obtained the output column types of a recursive union in advance of doing real parse analysis of the recursive union forgot to handle the case where there was an inner WITH clause available to the non-recursive term. Best fix seems to be to refactor so that we don't need the "throwaway" parse analysis step at all. Instead, teach the transformSetOperationStmt code to set up the CTE's output column information after it's processed the non-recursive term normally. Per report from David Fetter. 255f66ef | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more | No linked thread | Sep 09, 2009 |
| Committer | Remove any -arch switches given in ExtUtils::Embed's ldopts from our perl_embed_ldflags setting. On OS X it seems that ExtUtils::Embed is trying to force a universal binary to be built, but you need to specify that a lot further upstream if you want Postgres built that way; the only result of including -arch in perl_embed_ldflags is some warnings at the plperl.so link step. Per my complaint and Jan Otto's suggestion. d69a419e | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 08, 2009 |
| Committer | Add a boolean GUC parameter "bonjour" to control whether a Bonjour-enabled build actually attempts to advertise itself via Bonjour. Formerly it always did so, which meant that packagers had to decide for their users whether this behavior was wanted or not. The default is "off" to be on the safe side, though this represents a change in the default behavior of a Bonjour-enabled build. Per discussion. eeb6cb14 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 08, 2009 |
| Committer | Replace use of the long-deprecated Bonjour API DNSServiceRegistrationCreate with the not-so-deprecated DNSServiceRegister. This patch shouldn't change any user-visible behavior, it just gets rid of a deprecation warning in --with-bonjour builds. The new code will fail on OS X releases before 10.3, but it seems unlikely that anyone will want to run Postgres 8.5 on 10.2. 59b9f3d3 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 08, 2009 |
| CommitterBackported | Remove outside-the-scanner references to "yyleng". 4d3456e8 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+20 more | No linked thread | Sep 08, 2009 |