summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-12No master server overhead for middleware replication.Bruce Momjian
2007-11-12Change replication chart title to "No waiting for multiple servers".Bruce Momjian
2007-11-12Trim trailing whitespace --- needed commit to update anoncvs.Bruce Momjian
2007-11-11Ensure that typmod decoration on a datatype name is validated in all cases,Tom Lane
even in code paths where we don't pay any subsequent attention to the typmod value. This seems needed in view of the fact that 8.3's generalized typmod support will accept a lot of bogus syntax, such as "timestamp(foo)" or "record(int, 42)" --- if we allow such things to pass without comment, users will get confused. Per a recent example from Greg Stark. To implement this in a way that's not very vulnerable to future bugs-of-omission, refactor the API of parse_type.c's TypeName lookup routines so that typmod validation is folded into the base lookup operation. Callers can still choose not to receive the encoded typmod, but we'll check the decoration anyway if it's present.
2007-11-11Remove tabs from SGML files.Bruce Momjian
2007-11-11Remove /contrib/dblink/doc directory, now in SGML.Bruce Momjian
2007-11-11Adjust pg_trgm expected output for new *.sql file.Bruce Momjian
2007-11-11Make /contrib install/uninstall script consistent:Bruce Momjian
remove transactions use create or replace function make formatting consistent set search patch on first line Add documentation on modifying *.sql to set the search patch, and mention that major upgrades should still run the installation scripts. Some of these issues were spotted by Tom today.
2007-11-10Remove references to READMEs from /contrib Makefiles.Bruce Momjian
2007-11-10Move most /contrib README files into SGML. Some still need conversionBruce Momjian
or will never be converted.
2007-11-10Add pg_ctl -t/timeout parameter to control amount of time to wait forBruce Momjian
start/shutdown.
2007-11-10Add an example of a SQL function with output parameters returningTom Lane
multiple rows. I had thought this case was covered, but there was no example in the obvious section to look in.
2007-11-10Add missing closing / in xsd:restriction, and remove some unnecessaryTom Lane
spaces for consistency. Per bug #3734 from Ben Leslie; fix by Euler Taveira de Oliveira.
2007-11-10High availability wording fix.Bruce Momjian
2007-11-10Update high availability documentation with comments from Markus Schiltknecht.Bruce Momjian
2007-11-10xmlGetUTF8Char()'s second argument is both input and output. FixTom Lane
uninitialized value, and avoid invoking the function nine separate times in the pg_xmlIsNameChar macro. Should resolve buildfarm failures. Per report from Ben Leslie.
2007-11-10Use strip -x on OS/X-darwin because non-"-x" causes link problems:Bruce Momjian
http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
2007-11-10Have text search thesaurus files use "?" for stop words.Bruce Momjian
Throw an error for actual stop words, rather than a warning. This fixes problems with cache reloading causing warning messages. Re-enable stop words in regression tests; was disabled by Tom. Document "?" as API change.
2007-11-10Reduce error level of ROLLBACK outside a transaction from WARNING toBruce Momjian
NOTICE.
2007-11-10Fix markup problem with recent pg_ctl change.Bruce Momjian
2007-11-10Have crosstab variants treat NULL rowid as a category in its own right,Joe Conway
per suggestion from Tom Lane. This fixes crash-bug reported by Stefan Schwarzer.
2007-11-10Properly order pg_ctl -c option alphabetically in docs.Bruce Momjian
2007-11-09Recognize RETURN QUERY via a textual test, so that QUERY doesn't need to beTom Lane
a plpgsql keyword. This avoids springing a new reserved word on plpgsql programmers. For consistency, handle RETURN NEXT the same way.
2007-11-09Remove tabs from SGML files.Bruce Momjian
2007-11-09Add an expected-results file to get regression to pass cleanly in sv_SETom Lane
locale, which sorts a bit differently. Per recent gripe from Magnus.
2007-11-09Clean up ts_locale.h/.c. Fix broken and not-consistent-across-platformsTom Lane
behavior of wchar2char/char2wchar; this should resolve bug #3730. Avoid excess computations of pg_mblen in t_isalpha and friends. Const-ify APIs where possible.
2007-11-09Point to our own UUID page instead of to Wikipedia.Alvaro Herrera
2007-11-09Second pass at improving LIKE/regex estimation in non-C locales. It turnsTom Lane
out that it's actually quite likely that a string that is an extension of the given prefix will sort as larger than the "greater" string our previous code created. To provide some defense against that, do the comparisons against a modified string instead of just the bare prefix. We tack on "Z", "z", "y", or "9", whichever is seen as largest in the current locale. Testing suggests that this is sufficient at least for cases involving ASCII data.
2007-11-09Add parameter krb_realm used by GSSAPI, SSPI and KerberosMagnus Hagander
to validate the realm of the connecting user. By default it's empty meaning no verification, which is the way Kerberos authentication has traditionally worked in PostgreSQL.
2007-11-09Move pl/proxy into Multi-server parallel query execution documentationBruce Momjian
section.
2007-11-09Allow XML processing instructions starting with "xml" while prohibitingPeter Eisentraut
those being exactly "xml". Bug #3735 from Ben Leslie
2007-11-09In tsearch code, remove !(A && B) via restructuring, for clarityBruce Momjian
2007-11-08If an index depends on no columns of its table, give it a dependency on theTom Lane
whole table instead, to ensure that it goes away when the table is dropped. Per bug #3723 from Sam Mason. Backpatch as far as 7.4; AFAICT 7.3 does not have the issue, because it doesn't have general-purpose expression indexes and so there must be at least one column referenced by an index.
2007-11-08Wording improvement for pl/proxy mention.Bruce Momjian
2007-11-08Add mention of pl/proxy toolset to docs.Bruce Momjian
2007-11-08Fix EquivalenceClass code to handle volatile sort expressions in a moreTom Lane
predictable manner; in particular that if you say ORDER BY output-column-ref, it will in fact sort by that specific column even if there are multiple syntactic matches. An example is SELECT random() AS a, random() AS b FROM ... ORDER BY b, a; While the use-case for this might be a bit debatable, it worked as expected in earlier releases, so we should preserve the behavior for 8.3. Per my recent proposal. While at it, fix convert_subquery_pathkeys() to handle RelabelType stripping in both directions; it needs this for the same reasons make_sort_from_pathkeys does.
2007-11-08Last week's patch for make_sort_from_pathkeys wasn't good enough: it hasTom Lane
to be able to discard top-level RelabelType nodes on *both* sides of the equivalence-class-to-target-list comparison, since make_pathkey_from_sortinfo might either add or remove a RelabelType. Also fix the latter to do the removal case cleanly. Per example from Peter.
2007-11-08Properly indent SGML file.Bruce Momjian
2007-11-08Add "High Availability, Load Balancing, and Replication Feature Matrix"Bruce Momjian
table to docs.
2007-11-08Move NFS section into "Creating Cluster" documentation section becauseBruce Momjian
it seems more logical there.
2007-11-08After conferencing again with Bruce, put in more accurate XML error message.Peter Eisentraut
2007-11-08Adjust test results for message changes. Darn.Peter Eisentraut
2007-11-08Wording changesPeter Eisentraut
2007-11-08Add sentence-ending periods.Peter Eisentraut
2007-11-08Mention text search instead of tsearch2Peter Eisentraut
2007-11-08Small fixesPeter Eisentraut
2007-11-08Improve error messagePeter Eisentraut
2007-11-08Add missing newlines to error messages, and normalize wording a bit.Peter Eisentraut
2007-11-07Improve the performance of LIKE/regex estimation in non-C locales, by makingTom Lane
make_greater_string() try harder to generate a string that's actually greater than its input string. Before we just assumed that making a string that was memcmp-greater was enough, but it is easy to generate examples where this is not so when the locale is not C. Instead, loop until the relevant comparison function agrees that the generated string is greater than the input. Unfortunately this is probably not enough to guarantee that the generated string is greater than all extensions of the input, so we cannot relax the restriction to C locale for the LIKE/regex index optimization. But it should at least improve the odds of getting a useful selectivity estimate in prefix_selectivity(). Per example from Guillaume Smet. Backpatch to 8.1, mainly because that's what the complainant is using...
2007-11-07Fix patternsel() and callers to do the right thing for NOT LIKE and the otherTom Lane
negated-match operators. patternsel had been using the supplied operator as though it were a positive-match operator, and thus obtaining a wrong result, which was even more wrong after the caller subtracted it from 1. Seems cleanest to give patternsel an explicit "negate" argument so that it knows what's going on. Also install the same factorization scheme for pattern join selectivity estimators; even though they are just stubs at the moment, this may keep someone from making the same type of mistake when they get filled out. Per report from Greg Mullane. Backpatch to 8.2 --- previous releases do not show the problem because patternsel() doesn't actually use the operator directly.