| CommitterBackported | Avoid core dump on empty thesaurus dictionary. Per report from Robert Gravsjö. 90885420 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+15 more | No linked thread | Nov 30, 2009 |
| CommitterBackported | Fix session-lifespan memory leak when a plperl function is redefined: we have to tell Perl it can release its compiled copy of the function text. Noted by Alexey Klyukin. 67ec9ada | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+16 more | No linked thread | Nov 29, 2009 |
| Committer | Add some opr_sanity checks that the lengths of the various argument-info arrays in a pg_proc entry match. Seems like an easy mistake to make when manually adjusting these values in a pg_proc.h entry. c19781ac | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 29, 2009 |
| Committer | Make pg_stat_activity.application_name visible to all users, rather than being hidden when current_query is. Relocate it to a column position more consistent with that behavior. Per discussion. 0c61cff5 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 29, 2009 |
| Committer | Add support for anonymous code blocks (DO blocks) to PL/Perl. 42b2907d | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 29, 2009 |
| Committer | Add support for an application_name parameter, which is displayed in pg_stat_activity and recorded in log entries. 8217cfbd | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 28, 2009 |
| Committer | Eliminate a lot of list-management overhead within join_search_one_level by adding a requirement that build_join_rel add new join RelOptInfos to the appropriate list immediately at creation. Per report from Robert Haas, the list_concat_unique_ptr() calls that this change eliminates were taking the lion's share of the runtime in larger join problems. This doesn't do anything to fix the fundamental combinatorial explosion in large join problems, but it should push out the threshold of pain a bit further. 1a95f127 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 28, 2009 |
| Committer | Fix missing end tag, per Jeff Davis. f0edaecd | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 26, 2009 |
| Committer | Simplify psql's new linestyle behavior to default to linestyle=ascii all the time, rather than hoping we can tell whether the terminal supports UTF8 characters. Per discussion. da29cc80 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 25, 2009 |
| Committer | Use diff's -w switch only on Windows, to avoid problems with inconsistent newline representations. Per buildfarm results and subsequent discussion. Sync up a couple of other places that had their own policies. 8d97c1dc | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 23, 2009 |
| Committer | Assorted wordsmithing on the documentation of \pset --- try to make it a bit more consistent and less obviously written by different people at different times. c194ff20 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 22, 2009 |
| Committer | Adjust expected-results spacing per buildfarm results. 1fe41927 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 22, 2009 |
| Committer | Remove -w (--ignore-all-space) option from pg_regress's diff calls. ce3153fa | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 22, 2009 |
| Committer | Ooops, forgot to check the libxml cases for psql output wrapping change. 1c499591 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 22, 2009 |
| Committer | Improve psql's tabular display of wrapped-around data by inserting markers in the formerly-always-blank columns just to left and right of the data. Different marking is used for a line break caused by a newline in the data than for a straight wraparound. A newline break is signaled by a "+" in the right margin column in ASCII mode, or a carriage return arrow in UNICODE mode. Wraparound is signaled by a dot in the right margin as well as the following left margin in ASCII mode, or an ellipsis symbol in the same places in UNICODE mode. "\pset linestyle old-ascii" is added to make the previous behavior available if anyone really wants it. 1753337c | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 22, 2009 |
| CommitterBackported | Refactor ecpg grammar so that it uses the core grammar's unreserved_keyword list, minus a few specific words that have to be treated specially. This replaces a hard-wired list of keywords that would have needed manual maintenance, and was not getting it. The 8.4 coding was already missing these words, causing ecpg to incorrectly treat them as reserved words: CALLED, CATALOG, DEFINER, ENUM, FOLLOWING, INVOKER, OPTIONS, PARTITION, PRECEDING, RANGE, SECURITY, SERVER, UNBOUNDED, WRAPPER. In HEAD we were additionally missing COMMENTS, FUNCTIONS, SEQUENCES, TABLES. Per gripe from Bosco Rama. e6c63bf6 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 21, 2009 |
| Committer | Fix display and dumping of UPDATE OR TRUNCATE triggers (a bizarre combination maybe, but we should get it right). Bug noted while reviewing TRIGGER WHEN patch. Already fixed in HEAD. 00d144dd | REL8_4_STABLE8.4.2 | No linked thread | Nov 20, 2009 |
| Committer | Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be checked to determine whether the trigger should be fired. 7fc0f062 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 20, 2009 |
| CommitterBackported | Fix memory leak in syslogger: logfile_rotate() would leak a copy of the output filename if CSV logging was enabled and only one of the two possible output files got rotated during a particular call (which would, in fact, typically be the case during a size-based rotation). This would amount to about MAXPGPATH (1KB) per rotation, and it's been there since the CSV code was put in, so it's surprising that nobody noticed it before. Per bug #5196 from Thomas Poindessous. b1d55dca | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+15 more | No linked thread | Nov 19, 2009 |
| Committer | Add a hook to CREATE/ALTER ROLE to allow an external module to check the strength of database passwords, and create a sample implementation of such a hook as a new contrib module "passwordcheck". c742b795 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 18, 2009 |
| Committer | Provide a parenthesized-options syntax for VACUUM, analogous to that recently adopted for EXPLAIN. This will allow additional options to be implemented in future without having to make them fully-reserved keywords. The old syntax remains available for existing options, however. 5e66a51c | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 16, 2009 |
| CommitterBackported | While doing the final setrefs.c pass over a plan tree, try to match up non-Var sort/group expressions using ressortgroupref labels instead of depending entirely on equal()-ity of the upper node's tlist expressions to the lower node's. This avoids emitting the wrong outputs in cases where there are textually identical volatile sort/group expressions, as for example select distinct random(),random() from generate_series(1,10); Per report from Andrew Gierth. 49ed392c | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 16, 2009 |
| Committer | Improve planning of Materialize nodes inserted atop the inner input of a mergejoin to shield it from doing mark/restore and refetches. Put an explicit flag in MergePath so we can centralize the logic that knows about this, and add costing logic that considers using Materialize even when it's not forced by the previously-existing considerations. This is in response to a discussion back in August that suggested that materializing an inner indexscan can be helpful when the refetch percentage is high enough. caf9c830 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 15, 2009 |
| Committer | Make unaccent's install/uninstall scripts look more like all the others. Set search_path explicitly, don't use IF EXISTS, etc. 29faadcd | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 14, 2009 |
| Committer | Clean up a couple of bizarre code formatting choices in recent CREATE LIKE patch. ef679ff6 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 13, 2009 |
| Committer | Avoid assuming that enum CreateStmtLikeOption is unsigned. Zdenek Kotala 82121aff | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 13, 2009 |
| Committer | Add control knobs for plpgsql's variable resolution behavior, and make the default be "throw error on conflict", as per discussions. The GUC variable is plpgsql.variable_conflict, with values "error", "use_variable", "use_column". The behavior can also be specified per-function by inserting one of #variable_conflict error #variable_conflict use_variable #variable_conflict use_column at the start of the function body. 63176099 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 13, 2009 |
| Committer | The recent patch to log changes in postgresql.conf settings dumped core if the initial value of a string variable was NULL, which is entirely possible. Noted while experimenting with custom_variable_classes. 0894c6b8 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 12, 2009 |
| Committer | Check for C/POSIX before assuming that nl_langinfo or win32_langinfo will work. Per buildfarm results. 8539a0e0 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 12, 2009 |
| Committer | Make initdb behave sanely when the selected locale has codeset "US-ASCII". Per discussion, this should result in defaulting to SQL_ASCII encoding. The original coding could not support that because it conflated selection of SQL_ASCII encoding with not being able to determine the encoding. Adjust pg_get_encoding_from_locale()'s API to distinguish these cases, and fix callers appropriately. Only initdb actually changes behavior, since the other callers were perfectly content to consider these cases equivalent. 8f8a5df6 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 12, 2009 |
| Committer | Remove pg_parse_string_token() --- not needed anymore. 19d80276 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 12, 2009 |
| Committer | Remove plpgsql's separate lexer (finally!), in favor of using the core lexer directly. This was a lot of trouble, but should be worth it in terms of not having to keep the plpgsql lexer in step with core anymore. In addition the handling of keywords is significantly better-structured, allowing us to de-reserve a number of words that plpgsql formerly treated as reserved. 2dee828c | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 12, 2009 |
| CommitterBackported | Do not build psql's flex module on its own, but instead include it in mainloop.c. This ensures that postgres_fe.h is read before including any system headers, which is necessary to avoid problems on some platforms where we make nondefault selections of feature macros for stdio.h or other headers. We have had this policy for flex modules in the backend for many years, but for some reason it was not applied to psql. Per trouble report from Alexandra Roy and diagnosis by Albe Laurenz. 90bfe999 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+18 more | No linked thread | Nov 10, 2009 |
| Committer | Revert the temporary patch to work around Snow Leopard readdir() bug. Apple has fixed that bug in 10.6.2, and we should encourage users to update to that version rather than trusting this cosmetic patch. As was recently noted by Stephen Tyler, this patch was only masking the problem in the context of DROP TABLESPACE, but the failure could occur in other places such as pg_xlog cleanup. 21e3edd6 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 10, 2009 |
| Committer | More incremental refactoring in plpgsql: get rid of gram.y dependencies on yytext. This is a necessary change if we're going to have a lexer interface layer that does lookahead, since yytext won't necessarily be in step with what the grammar thinks is the current token. yylval and yylloc should be the only side-variables that we need to manage when doing lookahead. 73a2f6c6 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 10, 2009 |
| Committer | Re-refactor the core scanner's API, in order to get out from under the problem of different parsers having different YYSTYPE unions that they want to use with it. I defined a new union core_YYSTYPE that is just the (very short) list of semantic values returned by the core scanner. I had originally worried that this would require an extra interface layer, but actually we can have parser.c's base_yylex (formerly filtered_base_yylex) take care of that at no extra cost. Names associated with the core scanner are now "core_yy_foo", with "base_yy_foo" being used in the core Bison parser and the parser.c interface layer. 10bcfa18 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 09, 2009 |
| Committer | Fix WHERE CURRENT OF to work as designed within plpgsql. The argument can be the name of a plpgsql cursor variable, which formerly was converted to $N before the core parser saw it, but that's no longer the case. Deal with plain name references to plpgsql variables, and add a regression test case that exposes the failure. 2ace38d2 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 09, 2009 |
| Committer | Modernize plpgsql's handling of parse locations, making it look a lot more like the core parser's code. In particular, track locations at the character rather than line level during parsing, allowing many more parse-time error conditions to be reported with precise error pointers rather than just "near line N". 39bd3fd1 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 09, 2009 |
| Committer | Remove ancient text file containing plpgsql installation instructions. This was long ago superseded by the standard build process and main SGML documentation. fb60af41 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 07, 2009 |
| Committer | Rearrange plpgsql parsing to simplify and speed it up a bit. f2b7692e | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 07, 2009 |
| Committer | Change plpgsql from using textual substitution to insert variable references into SQL expressions, to using the newly added parser callback hooks. 0772f1e5 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 06, 2009 |
| Committer | Don't treat NEW and OLD as reserved words anymore. For the purposes of rules it works just as well to have them be ordinary identifiers, and this gets rid of a number of ugly special cases. Plus we aren't interfering with non-rule usage of these names. 593f4b85 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 05, 2009 |
| Committer | Remove plpgsql's RENAME declaration, which has bizarre and mostly nonfunctional behavior, and is so little used that no one has been interested in fixing it. To ensure that possible uses are covered, remove the ALIAS declaration's arbitrary restriction that only $n identifiers can be aliased. c29ae527 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 05, 2009 |
| CommitterBackported | Allow binary-coercible cases in ri_HashCompareOp; there are some such cases that are not handled by find_coercion_pathway, notably composite->RECORD. Now that 8.4 supports composites as primary keys, it's worth dealing with this case. 8e792776 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 05, 2009 |
| Committer | Rename some encoding conversion modules to keep pathnames in our source tarballs under 100 characters. This should avoid failures with certain untarring tools (WinZip and Midnight Commander have been mentioned as likely suspects). Per my proposal of yesterday. catversion bumped since the initial contents of pg_proc change. 6bef82b3 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 04, 2009 |
| Committer | Make expression locations for LIKE and SIMILAR TO constructs uniformly point at the first keyword of the expression, rather than drawing a rather artificial distinction between the ESCAPE subclause and the rest. Per gripe from Gokulakannan Somasundaram and subsequent discusssion. 9ab6c303 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 04, 2009 |
| Committer | Add support for invoking parser callback hooks via SPI and in cached plans. 9bedd128 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 04, 2009 |
| CommitterBackported | Dept of second thoughts: after studying index_getnext() a bit more I realize that it can scribble on scan->xs_ctup.t_self while following HOT chains, so we can't rely on that to stay valid between hashgettuple() calls. Introduce a private variable in HashScanOpaque, instead. 7d535ebe | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 01, 2009 |
| CommitterBackported | Fix two serious bugs introduced into hash indexes by the 8.4 patch that made hash indexes keep entries sorted by hash value. First, the original plans for concurrency assumed that insertions would happen only at the end of a page, which is no longer true; this could cause scans to transiently fail to find index entries in the presence of concurrent insertions. We can compensate by teaching scans to re-find their position after re-acquiring read locks. Second, neither the bucket split nor the bucket compaction logic had been fixed to preserve hashvalue ordering, so application of either of those processes could lead to permanent corruption of an index, in the sense that searches might fail to find entries that are present. c4afdca4 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 01, 2009 |