| Committer | 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 c50b36d2 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 08, 2006 |
| Committer | 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. c7611f99 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 08, 2006 |
| CommitterBackported | 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 ... 06290309 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+22 more | No linked thread | Oct 07, 2006 |
| Committer | Fix thinko in comment. 95389382 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 07, 2006 |
| Committer | 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. dc9142f4 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 07, 2006 |
| Committer | On platforms that have getrlimit(RLIMIT_STACK), use it to ensure that max_stack_depth is not set to an unsafe value. 71a6f8b8 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 07, 2006 |
| Committer | 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. 1c160291 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 07, 2006 |
| CommitterBackported | 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. 452fa214 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+21 more | No linked thread | Oct 07, 2006 |
| Committer | Fix bcc32.mak to create and remove pg_config_os.h properly. Apparently win32.mak got patched for this, but not bcc32.mak. 11d4d424 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 06, 2006 |
| CommitterBackported | 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. 6ea8f495 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+20 more | No linked thread | Oct 06, 2006 |
| Committer | 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. 378c79dc | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 05, 2006 |
| Committer | 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. e378f82e | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 05, 2006 |
| Committer | Work around buggy strtod on (some versions of?) IRIX. Combination of proposed patches from John Jorgensen and Steve Singer. b2c04d5e | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 05, 2006 |
| Committer | 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. 9e6c3582 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 05, 2006 |
| Committer | 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. bdef2bf2 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 04, 2006 |
| Committer | 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. ff400571 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 04, 2006 |
| Committer | Fix comment to agree with presentation. af0af42f | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 04, 2006 |
| Committer | 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. c48f2e31 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 04, 2006 |
| Committer | Add qsort and qsort_arg to MSVC list of src/port files. 0d2aed94 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 04, 2006 |
| Committer | 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.) 6edd2b4a | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 03, 2006 |
| Committer | Rearrange MSVC errcode hack, fix incorrect _MSC_VER test. Magnus 0184c683 | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 03, 2006 |
| Committer | 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. 1e05359f | master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more | No linked thread | Oct 02, 2006 |