Commit Graph

  • 850f5f3287 Update release notes for releases 7.3.16, 7.4.14, 8.0.9, and 8.1.5. Bruce Momjian 2006-10-09 23:22:58 +00:00
  • a9ae4ae8c1 Fix back-branch pg_regress scripts to try the "canonical" expected file if we tried a variant file from resultmap and it didn't match. This is already done in HEAD's C-code version, and is needed because OpenBSD has recently migrated to a more standard handling of float underflow --- see buildfarm results from emu. Tom Lane 2006-10-09 01:46:04 +00:00
  • b1bc5d5dda Fix back-branch pg_regress scripts to try the "canonical" expected file if we tried a variant file from resultmap and it didn't match. This is already done in HEAD's C-code version, and is needed because OpenBSD has recently migrated to a more standard handling of float underflow --- see buildfarm results from emu. Tom Lane 2006-10-09 01:45:57 +00:00
  • 3d32b17798 Fix back-branch pg_regress scripts to try the "canonical" expected file if we tried a variant file from resultmap and it didn't match. This is already done in HEAD's C-code version, and is needed because OpenBSD has recently migrated to a more standard handling of float underflow --- see buildfarm results from emu. Tom Lane 2006-10-09 01:45:49 +00:00
  • b7edacccbe Fix back-branch pg_regress scripts to try the "canonical" expected file if we tried a variant file from resultmap and it didn't match. This is already done in HEAD's C-code version, and is needed because OpenBSD has recently migrated to a more standard handling of float underflow --- see buildfarm results from emu. Tom Lane 2006-10-09 01:45:41 +00:00
  • 842c00776b Updated keyword table for 8.2 Peter Eisentraut 2006-10-08 20:51:52 +00:00
  • c50b36d215 Update Darwin dlopen() support to avoid deprecation warnings with latest Apple developer tools. We now use dlopen directly if available, and fall back to the older code if not. Chris Campbell Tom Lane 2006-10-08 19:31:03 +00:00
  • 92fb5edbc1 Update multi-line editing wording in release notes. Bruce Momjian 2006-10-08 19:18:32 +00:00
  • 978ddf65ed In release notes, mention that multi-line history saving does not work on Win32. Bruce Momjian 2006-10-08 18:15:52 +00:00
  • 7efbf6d7b6 Add include needed for new getrusage() call. Bruce Momjian 2006-10-08 17:45:50 +00:00
  • c7611f99d6 On Windows, we know the backend stack size limit because we have to specify it explicitly in backend/Makefile. Arrange for this value to be known by get_stack_depth_rlimit() too. Per suggestion from Magnus. Tom Lane 2006-10-08 17:15:34 +00:00
  • 5e0bc3b711 Update comments for pgcvslog, -r BASE does not work with cvs log. Bruce Momjian 2006-10-08 01:39:59 +00:00
  • aa198e5f14 Simplify <link> regex cleanup code. Bruce Momjian 2006-10-07 23:48:52 +00:00
  • dc1e047baf Allow HISTORY/history.html to be generated by removing <link> elements, per suggestion from Peter. Without this, the main doc links prevent those files from being built. Bruce Momjian 2006-10-07 23:28:04 +00:00
  • 4e66f619b0 Fix ancient oversight in psql's \d pattern processing code: when seeing two quote chars inside quote marks, should emit one quote *and stay in inquotes mode*. No doubt the lack of reports of this have something to do with the poor documentation of the feature ... Tom Lane 2006-10-07 22:22:04 +00:00
  • d85820cfb2 Fix ancient oversight in psql's \d pattern processing code: when seeing two quote chars inside quote marks, should emit one quote *and stay in inquotes mode*. No doubt the lack of reports of this have something to do with the poor documentation of the feature ... Tom Lane 2006-10-07 22:21:57 +00:00
  • 5361743826 Fix ancient oversight in psql's \d pattern processing code: when seeing two quote chars inside quote marks, should emit one quote *and stay in inquotes mode*. No doubt the lack of reports of this have something to do with the poor documentation of the feature ... Tom Lane 2006-10-07 22:21:50 +00:00
  • e407ca3a7b Fix ancient oversight in psql's \d pattern processing code: when seeing two quote chars inside quote marks, should emit one quote *and stay in inquotes mode*. No doubt the lack of reports of this have something to do with the poor documentation of the feature ... Tom Lane 2006-10-07 22:21:44 +00:00
  • 0629030962 Fix ancient oversight in psql's \d pattern processing code: when seeing two quote chars inside quote marks, should emit one quote *and stay in inquotes mode*. No doubt the lack of reports of this have something to do with the poor documentation of the feature ... Tom Lane 2006-10-07 22:21:38 +00:00
  • 9ddbbe95fe In release notes, always use </link> rather than </>. Bruce Momjian 2006-10-07 22:06:25 +00:00
  • 5a05d18e59 Added missing entry (CASCADED) in keywords table. Peter Eisentraut 2006-10-07 21:51:02 +00:00
  • 953893822b Fix thinko in comment. Tom Lane 2006-10-07 21:48:43 +00:00
  • a64f208833 Updated config.guess and config.sub Peter Eisentraut 2006-10-07 21:05:59 +00:00
  • 2b25e1169f The -X option in pg_dump was supposed to be a workaround for the lack of portable long options. But we have had portable long options for a long time now, so this is obsolete. Now people have added options which *only* work with -X but not as regular long option, so I'm putting a stop to this: -X is deprecated; it still works, but it has been removed from the documentation, and please don't add more of them. Peter Eisentraut 2006-10-07 20:59:05 +00:00
  • dc9142f406 When planning a query at Bind time, be careful to pass the correct query_list into the Portal, ie, the one seen and possibly modified by the planner. My fault :-( Per report from Sergey Koposov. Tom Lane 2006-10-07 20:16:57 +00:00
  • 71a6f8b85b On platforms that have getrlimit(RLIMIT_STACK), use it to ensure that max_stack_depth is not set to an unsafe value. Tom Lane 2006-10-07 19:25:29 +00:00
  • 1c160291ef Adjust HINT for stack depth limit to mention checking the underlying platform limit, rather than just blindly raising max_stack_depth. Also, tweak the code to work properly if someone sets max_stack_depth to more than 2Gb, which guc.c will allow on a 64-bit machine. Tom Lane 2006-10-07 16:43:28 +00:00
  • cc1d55b74b Remove tabs added accidentally. Bruce Momjian 2006-10-07 03:32:28 +00:00
  • 9c53544950 Fix a typo. Neil Conway 2006-10-07 03:17:13 +00:00
  • 611b4c59c7 Add main documentation link tags to the release notes. Bruce Momjian 2006-10-07 02:18:34 +00:00
  • 9cd5c4fca2 Fix string_to_array() to correctly handle the case where there are overlapping possible matches for the separator string, such as string_to_array('123xx456xxx789', 'xx'). Also, revise the logic of replace(), split_part(), and string_to_array() to avoid O(N^2) work from redundant searches and conversions to pg_wchar format when there are N matches to the separator string. Backpatched the full patch as far as 8.0. 7.4 also has the bug, but the code has diverged a lot, so I just went for a quick-and-dirty fix of the bug itself in that branch. Tom Lane 2006-10-07 00:12:12 +00:00
  • 704f8ea11c Fix string_to_array() to correctly handle the case where there are overlapping possible matches for the separator string, such as string_to_array('123xx456xxx789', 'xx'). Also, revise the logic of replace(), split_part(), and string_to_array() to avoid O(N^2) work from redundant searches and conversions to pg_wchar format when there are N matches to the separator string. Backpatched the full patch as far as 8.0. 7.4 also has the bug, but the code has diverged a lot, so I just went for a quick-and-dirty fix of the bug itself in that branch. Tom Lane 2006-10-07 00:12:05 +00:00
  • a5d892b1c9 Fix string_to_array() to correctly handle the case where there are overlapping possible matches for the separator string, such as string_to_array('123xx456xxx789', 'xx'). Also, revise the logic of replace(), split_part(), and string_to_array() to avoid O(N^2) work from redundant searches and conversions to pg_wchar format when there are N matches to the separator string. Backpatched the full patch as far as 8.0. 7.4 also has the bug, but the code has diverged a lot, so I just went for a quick-and-dirty fix of the bug itself in that branch. Tom Lane 2006-10-07 00:11:59 +00:00
  • 452fa214e5 Fix string_to_array() to correctly handle the case where there are overlapping possible matches for the separator string, such as string_to_array('123xx456xxx789', 'xx'). Also, revise the logic of replace(), split_part(), and string_to_array() to avoid O(N^2) work from redundant searches and conversions to pg_wchar format when there are N matches to the separator string. Backpatched the full patch as far as 8.0. 7.4 also has the bug, but the code has diverged a lot, so I just went for a quick-and-dirty fix of the bug itself in that branch. Tom Lane 2006-10-07 00:11:53 +00:00
  • 11d4d424d4 Fix bcc32.mak to create and remove pg_config_os.h properly. Apparently win32.mak got patched for this, but not bcc32.mak. Tom Lane 2006-10-06 18:53:53 +00:00
  • d2cc024be1 Fix SysCacheGetAttr() to handle the case where the specified syscache has not been initialized yet. This can happen because there are code paths that call SysCacheGetAttr() on a tuple originally fetched from a different syscache (hopefully on the same catalog) than the one specified in the call. It doesn't seem useful or robust to try to prevent that from happening, so just improve the function to cope instead. Per bug#2678 from Jeff Trout. The specific example shown by Jeff is new in 8.1, but to be on the safe side I'm backpatching 8.0 as well. We could patch 7.x similarly but I think that's probably overkill, given the lack of evidence of old bugs of this ilk. Tom Lane 2006-10-06 18:23:48 +00:00
  • a222a158b0 Fix SysCacheGetAttr() to handle the case where the specified syscache has not been initialized yet. This can happen because there are code paths that call SysCacheGetAttr() on a tuple originally fetched from a different syscache (hopefully on the same catalog) than the one specified in the call. It doesn't seem useful or robust to try to prevent that from happening, so just improve the function to cope instead. Per bug#2678 from Jeff Trout. The specific example shown by Jeff is new in 8.1, but to be on the safe side I'm backpatching 8.0 as well. We could patch 7.x similarly but I think that's probably overkill, given the lack of evidence of old bugs of this ilk. Tom Lane 2006-10-06 18:23:41 +00:00
  • 6ea8f49573 Fix SysCacheGetAttr() to handle the case where the specified syscache has not been initialized yet. This can happen because there are code paths that call SysCacheGetAttr() on a tuple originally fetched from a different syscache (hopefully on the same catalog) than the one specified in the call. It doesn't seem useful or robust to try to prevent that from happening, so just improve the function to cope instead. Per bug#2678 from Jeff Trout. The specific example shown by Jeff is new in 8.1, but to be on the safe side I'm backpatching 8.0 as well. We could patch 7.x similarly but I think that's probably overkill, given the lack of evidence of old bugs of this ilk. Tom Lane 2006-10-06 18:23:35 +00:00
  • b9b4f10b5b Message style improvements Peter Eisentraut 2006-10-06 17:14:01 +00:00
  • 378c79dc78 Cleanup for pglz_compress code: remove dead code, const-ify API of remaining functions, simplify pglz_compress's API to not require a useless data copy when compression fails. Also add a check in pglz_decompress that the expected amount of data was decompressed. Tom Lane 2006-10-05 23:33:33 +00:00
  • e378f82e00 Make use of qsort_arg in several places that were formerly using klugy static variables. This avoids any risk of potential non-reentrancy, and in particular offers a much cleaner workaround for the Intel compiler bug that was affecting ginutil.c. Tom Lane 2006-10-05 17:57:40 +00:00
  • f2332ea1e9 Add indenting to Solaris FAQ, for clarity. Bruce Momjian 2006-10-05 03:13:15 +00:00
  • b680a1d9ad Update DB2X texinfo example code. Bruce Momjian 2006-10-05 02:04:32 +00:00
  • b2c04d5e6b Work around buggy strtod on (some versions of?) IRIX. Combination of proposed patches from John Jorgensen and Steve Singer. Tom Lane 2006-10-05 01:40:45 +00:00
  • 9e6c3582dd Second try at fixing libedit configuration for Bob Friesenhahn. Buildfarm results from 'gazelle' show that there are indeed libedit versions for which history.h is a needed header, even though it's apparently been dropped entirely in other versions. Grumble. Tom Lane 2006-10-05 00:07:45 +00:00
  • 03ea9ecbda Update Solaris strtod() bug comment. Bruce Momjian 2006-10-04 22:49:44 +00:00
  • 50a3fb9f22 Update Solaris strtol() bug comment. Bruce Momjian 2006-10-04 22:48:41 +00:00
  • bdef2bf296 Adjust configure's handling of libedit to not look for a history.h file. Per Bob Friesenhahn's report, this file is not supplied by some versions of libedit, and even when it is supplied it seems to be just a link to readline.h, so we don't need to include it anyway. Also, ensure that we won't try to use a too-old version of Bison. The previous coding would bleat but then use it anyway; better to invoke the 'missing' script if any grammar files need to be rebuilt. Tom Lane 2006-10-04 22:31:14 +00:00
  • 6fa875d7ce Update Solaris FAQ. Bruce Momjian 2006-10-04 22:03:22 +00:00
  • abcf7603c0 Exclude pgindent from affecting the ecpg regression directory. Bruce Momjian 2006-10-04 20:42:19 +00:00
  • ff40057116 Fix initdb's logic for picking shared_buffers/max_fsm_pages, which had gotten rather thoroughly whacked out by careless recent changes: the intended ratio between the two was off by a lot, and the minimum number of shared buffers tried had increased by a lot. Problem exposed by failures on buildfarm members with smaller SHMMAX values. Tom Lane 2006-10-04 18:58:08 +00:00
  • af0af42f85 Fix comment to agree with presentation. Tom Lane 2006-10-04 18:45:52 +00:00
  • c48f2e3124 Improve error messages from to_tsquery per yesterday's discussion: provide the bad input, and be sure to mention that we are talking about a tsearch query. Tom Lane 2006-10-04 17:52:52 +00:00
  • 0d2aed94c2 Add qsort and qsort_arg to MSVC list of src/port files. Tom Lane 2006-10-04 16:51:22 +00:00
  • fcc2fbac22 Reverted changes made by pgindent Made show.pgc set all variables before displaying them. Michael Meskes 2006-10-04 10:09:03 +00:00
  • f99a569a2e pgindent run for 8.2. Bruce Momjian 2006-10-04 00:30:14 +00:00
  • 451e419e98 Udpate typedefs for pgindent. Bruce Momjian 2006-10-04 00:02:10 +00:00
  • 6edd2b4a91 Switch over to using our own qsort() all the time, as has been proposed repeatedly. Now that we don't have to worry about memory leaks from glibc's qsort, we can safely put CHECK_FOR_INTERRUPTS into the tuplesort comparators, as was requested a couple months ago. Also, get rid of non-reentrancy and an extra level of function call in tuplesort.c by providing a variant qsort_arg() API that passes an extra void * argument through to the comparison routine. (We might want to use that in other places too, I didn't look yet.) Tom Lane 2006-10-03 22:18:23 +00:00
  • ed80f5701b pgevent fixes: Bruce Momjian 2006-10-03 22:12:14 +00:00
  • eff77a759a Update typedef list for 8.2 pgindent run. Bruce Momjian 2006-10-03 22:09:42 +00:00
  • fb541a1b59 Fix yesno_prompt() memory leak in /script tools, reported by Converity. Bruce Momjian 2006-10-03 21:45:20 +00:00
  • 0a42adcc32 Improve numeric overflow error message. Bruce Momjian 2006-10-03 21:25:56 +00:00
  • 45c8ed96b9 Make some sentences consistent with similar ones. Bruce Momjian 2006-10-03 21:21:36 +00:00
  • 9e23cd612e Improve readline psql prompt suggestion. Bruce Momjian 2006-10-03 21:14:46 +00:00
  • 756d450313 Add experimental support for db2x texinfo Bruce Momjian 2006-10-03 21:13:17 +00:00
  • 5441a64164 The attached patch changes units of the some default values in postgresql.conf. Bruce Momjian 2006-10-03 21:11:55 +00:00
  • e15ce612b5 Cleanup pgwin32_open() 'if' test, and avoid possible error. Bruce Momjian 2006-10-03 20:44:18 +00:00
  • 0184c6835c Rearrange MSVC errcode hack, fix incorrect _MSC_VER test. Magnus Tom Lane 2006-10-03 20:33:20 +00:00
  • 878f32feab Move WIN32_ONLY_COMPILER define from c.h to win32.h because it was being defined too late. Bruce Momjian 2006-10-03 03:59:22 +00:00
  • 6e6125dc69 This patch fixes a small typo in information_schema.sgml. Bruce Momjian 2006-10-03 01:03:53 +00:00
  • e3f1607cf8 Mention in postgresql.conf that autovacuum also needs stats_start_collector and stats_row_level to also be on Bruce Momjian 2006-10-03 00:39:26 +00:00
  • e020a5a6a9 Add URL for strlcpy(): Bruce Momjian 2006-10-03 00:03:54 +00:00
  • 725ab82975 Add: Bruce Momjian 2006-10-03 00:00:18 +00:00
  • b65b2cead5 Add URL about strlcpy() creation history. Bruce Momjian 2006-10-02 23:58:59 +00:00
  • 8ef72878b5 Update wording: Bruce Momjian 2006-10-02 23:26:02 +00:00
  • 9b9e0e61a5 Add: Bruce Momjian 2006-10-02 23:23:32 +00:00
  • ae9b60322e Remove mention of the -fast option from the Solaris FAQ. Bruce Momjian 2006-10-02 23:01:17 +00:00
  • 5d52ad9dc8 Update recovery documentation. Bruce Momjian 2006-10-02 22:33:02 +00:00
  • 26ffa627ac Update tsearch2 README. Bruce Momjian 2006-10-02 22:32:10 +00:00
  • 9ec71d5d1b Add URL for cached copy of paper as SGML comment. Bruce Momjian 2006-10-02 22:28:48 +00:00
  • 5257c7f829 Add release note item: Bruce Momjian 2006-10-02 15:32:03 +00:00
  • 7de0a919a2 Move "Exotic Features" to the bottom of TODO. Bruce Momjian 2006-10-02 14:00:04 +00:00
  • 1e05359f4b Properly handle the case where strlcpy() exists in libc but isn't declared in the system headers. Per report from Bruce than some BSDen are like this. Tom Lane 2006-10-02 00:06:18 +00:00
  • 7ceec34a73 Improve documentation of configure's readline/libedit switches. Tom Lane 2006-10-01 23:47:16 +00:00
  • db2dcf58be Make some marginal performance improvements in reportErrorPosition(), which turns out to be a dominant part of the runtime in scenarios involving lots of parse-time warnings (such as Stephen Frost's example of an INSERT with a lot of backslash-containing strings). There's not a whole lot we can do about the character-at-a-time scanning, but we can at least avoid traversing the query twice. Tom Lane 2006-10-01 22:25:48 +00:00
  • 8e4fe3ba1e Do a CHECK_FOR_INTERRUPTS after emitting a message of less than ERROR severity. This is to ensure the user can cancel a query that's spitting out lots of notice/warning messages, even if they're coming from a loop that doesn't otherwise contain a CHECK_FOR_INTERRUPTS. Per gripe from Stephen Frost. Tom Lane 2006-10-01 22:08:18 +00:00
  • e0c6d9761c date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. Tom Lane 2006-10-01 18:54:57 +00:00
  • 4d3760f674 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. Tom Lane 2006-10-01 18:54:48 +00:00
  • 4af74cc007 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. Tom Lane 2006-10-01 18:54:40 +00:00
  • e69c09c1e9 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. Tom Lane 2006-10-01 18:54:31 +00:00
  • 363c8cf21f Remove accented characters in comments, to avoid failures when this file is read with an incompatible client_encoding setting. Per report from Tim N. van der Leeuw. Tom Lane 2006-10-01 18:37:53 +00:00
  • 9acbb81dd7 Fix overly enthusiastic Assert introduced in 8.1: it's expecting a CaseTestExpr, but forgot that the optimizer is sometimes able to replace CaseTestExpr by Const. Tom Lane 2006-10-01 17:23:51 +00:00
  • 514ce7a331 Fix overly enthusiastic Assert introduced in 8.1: it's expecting a CaseTestExpr, but forgot that the optimizer is sometimes able to replace CaseTestExpr by Const. Tom Lane 2006-10-01 17:23:38 +00:00
  • 87cd901cba Suppress compiler warnings. Tom Lane 2006-09-30 18:44:37 +00:00
  • 8136041a80 uninstall script for sslinfo Tom Lane 2006-09-30 18:24:19 +00:00
  • ad5031feac uninstall script for pg_freespacemap Tom Lane 2006-09-30 18:15:48 +00:00
  • 035599da01 uninstall script for pgrowlocks - Josh Drake Tom Lane 2006-09-30 18:08:32 +00:00
  • 8fd0e43c4e Add uninstall script for adminpack - Josh Drake Tom Lane 2006-09-30 18:03:06 +00:00
  • a9c7c5c240 BSD/OS doesn't have a prototype for strlcpy() but has the function, so work around that with defines. Bruce Momjian 2006-09-30 12:06:42 +00:00
  • 6bb9fc9fee Add: Bruce Momjian 2006-09-30 03:55:32 +00:00