| CommitterBackported | Add missed src/include/foreign subdirectory to the set installed into INSTALLDIR/include/server/. Itagaki Takahiro 2c3c2c1c | master8.5alpha1REL_19_STABLE8.5alpha1REL_18_STABLE8.5alpha1REL_17_STABLE8.5alpha1REL_16_STABLE8.5alpha1REL_15_STABLE8.5alpha1REL_14_STABLE8.5alpha1REL_13_STABLE8.5alpha1+16 more | No linked thread | Jun 30, 2009 |
| Committer | Revert addition of "o" to tar options. This was intended to fix bug #4883, but the cure appears to be worse than the disease. It turns out that GNU tar versions 1.14.x misinterpret -o as --same-owner, not --no-same-owner, leading to exactly the wrong behavior for both root and nonroot users. While that bug has been fixed for nearly five years, these tar versions are still found in the wild, notably in OS X 10.4. Given that #4883 was the first complaint we'd heard, it's definitely not worth fixing at the risk of breaking things for other users. Perhaps revisit at a later date when we're not up against a release deadline. 4d53a2f9 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 27, 2009 |
| Committer | Update release notes in final preparation for 8.4.0. 730e1a9c | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 26, 2009 |
| Committer | Add a note about SystemTap vs DTrace spelling of probe names. 9d6469c9 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 26, 2009 |
| Committer | Marginal improvement of description of recovery_end_command. df858fe5 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 26, 2009 |
| Committer | Cleanup and code review for the patch that made bgwriter active during archive recovery. Invent a separate state variable and inquiry function for XLogInsertAllowed() to clarify some tests and make the management of writing the end-of-recovery checkpoint less klugy. Fix several places that were incorrectly testing InRecovery when they should be looking at RecoveryInProgress or XLogInsertAllowed (because they will now be executed in the bgwriter not startup process). Clarify handling of bad LSNs passed to XLogFlush during recovery. Use a spinlock for setting/testing SharedRecoveryInProgress. Improve quite a lot of comments. 2de48a83 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 26, 2009 |
| Committer | Add __attribute__((format_arg(1))) to the declaration of err_gettext(), to restore gcc's ability to crosscheck format arguments within elog.c. Noted in a test compilation with -Wformat-nonliteral enabled. 7a58167e | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 25, 2009 |
| Committer | Make prior patch pgindent-safe. 888bcdb9 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 25, 2009 |
| Committer | Provide a link to the UPDATE reference page in the 'Updating Data' section of the docs. Per suggestion from Brad Bowman. d82e9f72 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 23, 2009 |
| CommitterBackported | Fix an ancient error in dist_ps (distance from point to line segment), which a number of other geometric operators also depend on. It miscalculated the slope of the perpendicular to the given line segment anytime that slope was other than 0, infinite, or +/-1. In some cases the error would be masked because the true closest point on the line segment was one of its endpoints rather than the intersection point, but in other cases it could give an arbitrarily bad answer. Per bug #4872 from Nick Roosevelt. b087b018 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+21 more | No linked thread | Jun 23, 2009 |
| Committer | Fix the makefiles to fail cleanly if Perl is needed but not present. This used to work as intended, but got broken some time ago (a quoted empty string is not an empty string), and got broken some more by the changes to generate ecpg's preproc.y automatically. Given all the unprotected uses of $(PERL) elsewhere, it seems best to make use of the $(missing) script rather than trying to ensure each such use is protected individually. Also fix various bits of documentation that omitted to mention Perl as a requirement for building from a CVS pull. Per a complaint from Robert Haas. 8d355d7b | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 23, 2009 |
| Committer | For bulk write operations (eg COPY IN), use a ring buffer of 16MB instead of the 256KB limit originally enforced by a patch committed 2008-11-06. Per recent test results, the smaller size resulted in an undesirable decrease in bulk data loading speed, due to COPY processing frequently getting blocked for WAL flushing. This area might need more tweaking later, but this setting seems to be good enough for 8.4. 6382448c | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 22, 2009 |
| Committer | Make to_timestamp and friends skip leading spaces before an integer field, even when not in FM mode. This improves compatibility with Oracle and with our pre-8.4 behavior, as per bug #4862. 3f1e529e | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 22, 2009 |
| Committer | Revert dubious message wording change. 1c8f03d4 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 22, 2009 |
| Committer | Fix things so that array_agg_finalfn does not modify or free its input ArrayBuildState, per trouble report from Merlin Moncure. By adopting this fix, we are essentially deciding that aggregate final-functions should not modify their inputs ever. Adjust documentation and comments to match that conclusion. 82480e28 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 20, 2009 |
| Committer | Fix the just-reported problem that you can't specify all four trigger event types in CREATE TRIGGER. While at it, clean up the amazingly tedious and inextensible way that the trigger event type list was handled. Per report from Greg Sabino Mullane. f08e5e92 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 18, 2009 |
| Committer | Proofreading for Bruce's recent round of documentation proofreading. Most of those changes were good, but some not so good ... c30446b9 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 17, 2009 |
| Committer | ExecAgg() failed to finish running out set-returning functions in the last aggregated tuple of a run. Per report from Laurenz Albe. This is a new bug in 8.4, but only because prior versions rejected SRFs in an Agg plan node altogether. e8d78d35 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 17, 2009 |
| CommitterBackported | Change test tables in copy2 regression test to be temporary tables. This prevents autovacuum from reclaiming free space in them and causing the test's output row order to change, which is causing intermittent bogus failure reports in the buildfarm. f51c9a66 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+17 more | No linked thread | Jun 14, 2009 |
| Committer | Fix get_sort_group_operators() so that it doesn't think arrays can be grouped via hashing. Eventually we ought to make that possible, but it won't happen for 8.4. Per yesterday's report from Robert Haas. 5f6a1407 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 13, 2009 |
| Committer | Improve documentation about GiST opclass support functions. Dimitri Fontaine a0a3883d | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 12, 2009 |
| Committer | Fix several places where a function was declared static and then defined without static. Per testing with a compiler that complains about this. bfd06a71 | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 12, 2009 |
| Committer | Add info about minimum recommended AIX fix levels, per Laurenz Albe. 63e183ca | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 12, 2009 |
| Committer | Update release notes to today. ae8a2d1a | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 11, 2009 |
| Committer | Revisit AlterTableCreateToastTable's API once again, hoping to make it what pg_migrator actually needs and not just a partial solution. We have to be able to specify the OID that the new toast table should be created with. 44aa60fa | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 11, 2009 |
| Committer | Remove our inadequate kluge that tried to get AIX's various broken versions of getaddrinfo() to work. Instead, recommend updating the OS to get a working version of getaddrinfo. Per recent discussions. db16e773 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 11, 2009 |
| Committer | Mark contrib's GiST and GIN opclass support functions as STRICT, for safety. (Note: GiST penalty functions could possibly be non-strict, but none are at present.) d94582f4 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 11, 2009 |
| CommitterBackported | Update time zone data files to tzdata release 2009i: DST law changes in Bangladesh, Egypt, Jordan, Pakistan. 4c817527 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+20 more | No linked thread | Jun 11, 2009 |
| Committer | Fix things so that you can still do "select foo()" where foo is a SQL function returning setof record. This used to work, more or less accidentally, but I had broken it while extending the code to allow materialize-mode functions to be called in select lists. Add a regression test case so it doesn't get broken again. Per gripe from Greg Davidson. 0c19f058 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 11, 2009 |
| Committer | Somebody seems to have thought they could get away without checking for rsinfo->expectedDesc == NULL in deflist_to_tuplestore(), but that doesn't look very safe to me. Noted in passing while studying problem report from Greg Davidson. 772a074d | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 11, 2009 |
| Committer | Fix ill-advised whitespace prettification, per buildfarm. 14ba9fde | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 10, 2009 |
| Committer | Properly mark pg_freespace() function as strict. Also update uninstall script to match reality. 15a3fe6d | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 10, 2009 |
| Committer | Support Kerberos on platforms where libcom_err depends on OpenSSL, as reportedly is true on OpenBSD. Also support OpenBSD's spelling of -Wl,--as-needed. Per Simon Bertrang. cb10e3af | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 10, 2009 |
| Committer | Add warning that xpath() doesn't work with non-UTF8 data. 14180f92 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 10, 2009 |
| Committer | Add a warning about possible strange behavior of volatile functions in cursors. This has always been the case, but given the lack of user complaints about it, I'm not going to bother back-patching this. 661b3e79 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 10, 2009 |
| CommitterBackported | Keep rs_startblock the same during heap_rescan, so that a rescan of a SeqScan node starts from the same place as the first scan did. This avoids surprising behavior of scrollable and WITH HOLD cursors, as seen in Mark Kirkwood's bug report of yesterday. 61dd4185 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+17 more | No linked thread | Jun 10, 2009 |
| CommitterBackported | Fix cash_in() to behave properly in locales where frac_digits is zero, eg Japan. Report and fix by Itagaki Takahiro. Also fix CASHDEBUG printout format for branches with 64-bit money type, and some minor comment cleanup. 2ef8c1ac | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+21 more | No linked thread | Jun 10, 2009 |
| Committer | Make handling of INTERVAL DAY TO MINUTE and INTERVAL DAY TO SECOND input more consistent with other cases, by having an unlabeled integer field be treated as a number of minutes or seconds respectively. These cases are outside the spec (which insists on full "dd hh:mm" or "dd hh:mm:ss" input respectively), so it's not much help to us in deciding what to do. But with this change, it's uniformly the case that an unlabeled integer will be considered as being a number of the interval's rightmost field. The change also takes us back to the 8.3 behavior of throwing error for certain ambiguous inputs such as INTERVAL '1 2' DAY TO MINUTE. Per recent discussion. 5cca35a6 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 10, 2009 |
| CommitterBackported | Ensure xmlFree(NULL) is a no-op instead of a core dump. Per report from Sergey Burladyan, there are at least some dank corners of libxml2 that assume this behavior, even though their published documentation suggests they shouldn't. 0dcc73fe | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+17 more | No linked thread | Jun 10, 2009 |
| Committer | Mark internal_in as not strict, so that the construct "null::internal" will throw an error, rather than possibly allowing someone to synthesize a manual call to an internal-accepting function. As of CVS HEAD and existing releases, all such functions are either STRICT or careful about null inputs, so there is no current security issue here. But it seems like a good idea to lock this down to protect against future mistakes. e343eaaf | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 09, 2009 |
| Committer | Switch order of tests to avoid possible Assert failure for "array_agg_finalfn(null)". We should modify pg_proc entries to prevent this query from being accepted, but let's just make the function itself secure too. Per my note of today. 59fb29ca | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 09, 2009 |
| Committer | Restore dblink_current_query() to being a C-language function, so as to not create an ABI break between 8.3 and 8.4. It is still just a wrapper around the built-in current_query() function, but at a different implementation level. Per my proposal. f3e122fc | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 09, 2009 |
| Committer | Fix failure to double-quote function argument names when needed, in pg_get_function_arguments() and related functions. Per report from Andreas Nolte. adaf6013 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 09, 2009 |
| Committer | Fix contrib/pageinspect to not create an ABI breakage between 8.3 and 8.4. The original implementation of the 3-argument form of get_raw_page() risked core dumps if the 8.3 SQL function definition was mistakenly used with the 8.4 module, which is entirely likely after a dump-and-reload upgrade. To protect 8.4 beta testers against upgrade problems, add a check on PG_NARGS. a1fd650d | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 08, 2009 |
| Committer | Be a bit more verbose about the effects of string literal processing changes in plpgsql. Per bug #4843. 506183e4 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 08, 2009 |
| Committer | Revert my patch of 2009-04-04 that removed contrib/intarray's definitions of the <@ and @> operators. These are not in fact equivalent to the built-in anyarray operators of the same names, because they have different behavior for empty arrays, namely they don't think empty arrays are contained in anything. That is mathematically wrong, no doubt, but until we can persuade GIN indexes to implement the mathematical definition we should probably not change this. Another reason for not changing it now is that we can't yet ensure the opclasses will be updated correctly in a dump-and-reload upgrade. Per recent discussions. 156475a5 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 07, 2009 |
| Committer | Improve the IndexVacuumInfo/IndexBulkDeleteResult API to allow somewhat sane behavior in cases where we don't know the heap tuple count accurately; in particular partial vacuum, but this also makes the API a bit more useful for ANALYZE. This patch adds "estimated_count" flags to both structs so that an approximate count can be flagged as such, and adjusts the logic so that approximate counts are not used for updating pg_class.reltuples. 32ea2363 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 06, 2009 |
| Committer | Move variable declaration to avoid 'unused variable' warning when the ifdef doesn't trigger. Not worth back-patching. Per buildfarm reports. af98bb2a | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 06, 2009 |
| Committer | Fix a serious bug introduced into GIN in 8.4: now that MergeItemPointers() is supposed to remove duplicate heap TIDs, we have to be sure to reduce the tuple size and posting-item count accordingly in addItemPointersToTuple(). Failing to do so resulted in the effective injection of garbage TIDs into the index contents, ie, whatever happened to be in the memory palloc'd for the new tuple. I'm not sure that this fully explains the index corruption reported by Tatsuo Ishii, but the test case I'm using no longer fails. 356eea24 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 06, 2009 |
| CommitterBackported | GIN's ItemPointerIsMin, ItemPointerIsMax, and ItemPointerIsLossyPage macros should use GinItemPointerGetBlockNumber/GinItemPointerGetOffsetNumber, not ItemPointerGetBlockNumber/ItemPointerGetOffsetNumber, because the latter will Assert() on ip_posid == 0, ie a "Min" pointer. (Thus, ItemPointerIsMin has never worked at all, but it seems unused at present.) I'm not certain that the case can occur in normal functioning, but it's blowing up on me while investigating Tatsuo-san's data corruption problem. In any case it seems like a problem waiting to bite someone. 52f0fc70 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+18 more | No linked thread | Jun 05, 2009 |
| Committer | Trivial code style cleanup around a couple of ngettext calls. 0d547819 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 04, 2009 |
| Committer | Remove a couple of debugging messages that have been #ifdef'd out for ages. Seems silly to ask translators to expend work on these, especially in pluralized variants. 20d4005c | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 04, 2009 |
| Committer | Improve the recently-added support for properly pluralized error messages by extending the ereport() API to cater for pluralization directly. This is better than the original method of calling ngettext outside the elog.c code because (1) it avoids double translation, which wastes cycles and in the worst case could give a wrong result; and (2) it avoids having to use a different coding method in PL code than in the core backend. The client-side uses of ngettext are not touched since neither of these concerns is very pressing in the client environment. Per my proposal of yesterday. 76d4abf2 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 04, 2009 |
| Committer | Clean up ecpg's use of mmerror(): const-ify the format argument, add an __attribute__() marker so that gcc can validate the format string against the actual arguments, get rid of overcomplicated and unsafe usage in base_yyerror(). b5c838e1 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 03, 2009 |
| Committer | Fix tsquerysel() to not fail on an empty TSQuery. Per report from Tatsuo Ishii. a734979e | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 03, 2009 |
| Committer | Change rather bizarre code ordering in get_id(). This isn't strictly cosmetic --- I'm wondering if geteuid could have side effects on errno, thus possibly resulting in a misleading error message after failure of getpwuid. a7a7f5ca | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 03, 2009 |
| Committer | Improve comment about 'if (1)' hack in copy.c macros. e5507631 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 03, 2009 |
| Committer | Remove the old advice to keep from_collapse_limit less than geqo_threshold, instead just pointing out that a larger value may trigger use of GEQO. Per Robert Haas. ade91586 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 02, 2009 |
| Committer | Change AdjustIntervalForTypmod to not discard higher-order field values on the grounds that they don't fit into the specified interval qualifier (typmod). This behavior, while of long standing, is clearly wrong per spec --- for example the value INTERVAL '999' SECOND means 999 seconds and should not be reduced to less than 60 seconds. bac2ad38 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 01, 2009 |
| Committer | Fix DecodeInterval to report an error for multiple occurrences of DAY, WEEK, YEAR, DECADE, CENTURY, or MILLENIUM fields, just as it always has done for other types of fields. The previous behavior seems to have been a hack to avoid defining bit-positions for all these field types in DTK_M() masks, rather than something that was really considered to be desired behavior. But there is room in the masks for these, and we really need to tighten up at least the behavior of DAY and YEAR fields to avoid unexpected behavior associated with the 8.4 changes to interpret ambiguous fields based on the interval qualifier (typmod) value. Per my example and proposed patch. b3b89fd1 | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | Jun 01, 2009 |