]> granicus.if.org Git - postgresql/log
postgresql
17 years agoClean up some stray references to tsearch2.
Tom Lane [Tue, 13 Nov 2007 23:36:26 +0000 (23:36 +0000)]
Clean up some stray references to tsearch2.

17 years agocontrib/tsearch2 need not be special-cased any longer.
Tom Lane [Tue, 13 Nov 2007 22:49:47 +0000 (22:49 +0000)]
contrib/tsearch2 need not be special-cased any longer.

17 years agoResurrect the code for the rewrite(ARRAY[...]) aggregate function,
Tom Lane [Tue, 13 Nov 2007 22:14:50 +0000 (22:14 +0000)]
Resurrect the code for the rewrite(ARRAY[...]) aggregate function,
and put it into contrib/tsearch2 compatibility module.

17 years agoOoops, missed one file to remove.
Tom Lane [Tue, 13 Nov 2007 21:25:25 +0000 (21:25 +0000)]
Ooops, missed one file to remove.

17 years agoUpdate description of contrib/tsearch2.
Tom Lane [Tue, 13 Nov 2007 21:10:40 +0000 (21:10 +0000)]
Update description of contrib/tsearch2.

17 years agoRe-add contrib/tsearch2 to the set of buildable contrib modules.
Tom Lane [Tue, 13 Nov 2007 21:04:45 +0000 (21:04 +0000)]
Re-add contrib/tsearch2 to the set of buildable contrib modules.

17 years agoReplace the now-incompatible-with-core contrib/tsearch2 module with a
Tom Lane [Tue, 13 Nov 2007 21:02:29 +0000 (21:02 +0000)]
Replace the now-incompatible-with-core contrib/tsearch2 module with a
compatibility package.  This supports importing dumps from past versions
using tsearch2, and provides the old names and API for most functions
that were changed.  (rewrite(ARRAY[...]) is a glaring omission, though.)

Pavel Stehule and Tom Lane

17 years agoAgain properly fix Darwin strip.
Bruce Momjian [Tue, 13 Nov 2007 18:50:54 +0000 (18:50 +0000)]
Again properly fix Darwin strip.

17 years agoAdd link to Postgres-R glossary from our documentation (has helpful
Bruce Momjian [Tue, 13 Nov 2007 18:44:20 +0000 (18:44 +0000)]
Add link to Postgres-R glossary from our documentation (has helpful
terms defined).

17 years agoModify OS/X Darin test to actually work, (no $template)
Bruce Momjian [Tue, 13 Nov 2007 18:15:01 +0000 (18:15 +0000)]
Modify OS/X Darin test to actually work, (no $template)

17 years agoFix a few contrib regression test scripts that hadn't gotten the word
Tom Lane [Tue, 13 Nov 2007 06:29:04 +0000 (06:29 +0000)]
Fix a few contrib regression test scripts that hadn't gotten the word
about best practice for including the module creation scripts: to wit
that you should suppress NOTICE messages.  This avoids creating
regression failures by adding or removing comment lines in the module
scripts.

17 years agoAdjust expected file for new CVS version label.
Bruce Momjian [Tue, 13 Nov 2007 04:27:26 +0000 (04:27 +0000)]
Adjust expected file for new CVS version label.

17 years agoAdd CVS version labels to all install/uninstall scripts.
Bruce Momjian [Tue, 13 Nov 2007 04:24:29 +0000 (04:24 +0000)]
Add CVS version labels to all install/uninstall scripts.

17 years agoFix more script breakage.
Tom Lane [Tue, 13 Nov 2007 02:17:33 +0000 (02:17 +0000)]
Fix more script breakage.

17 years agoFix insufficient search-path paranoia in SQL function definitions.
Tom Lane [Tue, 13 Nov 2007 01:55:49 +0000 (01:55 +0000)]
Fix insufficient search-path paranoia in SQL function definitions.
Remove setting of search_path in install/uninstall scripts, since unlike
other contrib modules this one does not want to let you change the
installation schema.

17 years agoAdjust script to be consistent (thanks Tom for the fix).
Bruce Momjian [Tue, 13 Nov 2007 01:19:40 +0000 (01:19 +0000)]
Adjust script to be consistent (thanks Tom for the fix).

17 years agoUndo damage from yesterday's script "cleanup".
Tom Lane [Tue, 13 Nov 2007 00:20:36 +0000 (00:20 +0000)]
Undo damage from yesterday's script "cleanup".

17 years agoI find that an out-of-the-box installation of OSSP uuid 1.6.0 installs
Tom Lane [Tue, 13 Nov 2007 00:13:19 +0000 (00:13 +0000)]
I find that an out-of-the-box installation of OSSP uuid 1.6.0 installs
itself as libuuid, not libossp-uuid which was the only case expected by
our build support.  Install a configure test to determine which name
to use (and to check that the library is present at all).

17 years agoNo master server overhead for middleware replication.
Bruce Momjian [Mon, 12 Nov 2007 18:01:44 +0000 (18:01 +0000)]
No master server overhead for middleware replication.

17 years agoChange replication chart title to "No waiting for multiple servers".
Bruce Momjian [Mon, 12 Nov 2007 17:02:14 +0000 (17:02 +0000)]
Change replication chart title to "No waiting for multiple servers".

17 years agoTrim trailing whitespace --- needed commit to update anoncvs.
Bruce Momjian [Mon, 12 Nov 2007 01:37:34 +0000 (01:37 +0000)]
Trim trailing whitespace --- needed commit to update anoncvs.

17 years agoEnsure that typmod decoration on a datatype name is validated in all cases,
Tom Lane [Sun, 11 Nov 2007 19:22:49 +0000 (19:22 +0000)]
Ensure that typmod decoration on a datatype name is validated in all cases,
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.

17 years agoRemove tabs from SGML files.
Bruce Momjian [Sun, 11 Nov 2007 14:23:18 +0000 (14:23 +0000)]
Remove tabs from SGML files.

17 years agoRemove /contrib/dblink/doc directory, now in SGML.
Bruce Momjian [Sun, 11 Nov 2007 05:13:09 +0000 (05:13 +0000)]
Remove /contrib/dblink/doc directory, now in SGML.

17 years agoAdjust pg_trgm expected output for new *.sql file.
Bruce Momjian [Sun, 11 Nov 2007 03:57:06 +0000 (03:57 +0000)]
Adjust pg_trgm expected output for new *.sql file.

17 years agoMake /contrib install/uninstall script consistent:
Bruce Momjian [Sun, 11 Nov 2007 03:25:35 +0000 (03:25 +0000)]
Make /contrib install/uninstall script consistent:

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.

17 years agoRemove references to READMEs from /contrib Makefiles.
Bruce Momjian [Sat, 10 Nov 2007 23:59:52 +0000 (23:59 +0000)]
Remove references to READMEs from /contrib Makefiles.

17 years agoMove most /contrib README files into SGML. Some still need conversion
Bruce Momjian [Sat, 10 Nov 2007 23:30:46 +0000 (23:30 +0000)]
Move most /contrib README files into SGML.  Some still need conversion
or will never be converted.

17 years agoAdd pg_ctl -t/timeout parameter to control amount of time to wait for
Bruce Momjian [Sat, 10 Nov 2007 21:48:51 +0000 (21:48 +0000)]
Add pg_ctl -t/timeout parameter to control amount of time to wait for
start/shutdown.

17 years agoAdd an example of a SQL function with output parameters returning
Tom Lane [Sat, 10 Nov 2007 20:14:36 +0000 (20:14 +0000)]
Add an example of a SQL function with output parameters returning
multiple rows.  I had thought this case was covered, but there was
no example in the obvious section to look in.

17 years agoAdd missing closing / in xsd:restriction, and remove some unnecessary
Tom Lane [Sat, 10 Nov 2007 19:29:54 +0000 (19:29 +0000)]
Add missing closing / in xsd:restriction, and remove some unnecessary
spaces for consistency.  Per bug #3734 from Ben Leslie; fix by
Euler Taveira de Oliveira.

17 years agoHigh availability wording fix.
Bruce Momjian [Sat, 10 Nov 2007 19:19:36 +0000 (19:19 +0000)]
High availability wording fix.

17 years agoUpdate high availability documentation with comments from Markus Schiltknecht.
Bruce Momjian [Sat, 10 Nov 2007 19:14:02 +0000 (19:14 +0000)]
Update high availability documentation with comments from Markus Schiltknecht.

17 years agoxmlGetUTF8Char()'s second argument is both input and output. Fix
Tom Lane [Sat, 10 Nov 2007 18:51:20 +0000 (18:51 +0000)]
xmlGetUTF8Char()'s second argument is both input and output.  Fix
uninitialized value, and avoid invoking the function nine separate
times in the pg_xmlIsNameChar macro.  Should resolve buildfarm failures.
Per report from Ben Leslie.

17 years agoUse strip -x on OS/X-darwin because non-"-x" causes link problems:
Bruce Momjian [Sat, 10 Nov 2007 16:15:23 +0000 (16:15 +0000)]
Use strip -x on OS/X-darwin because non-"-x" causes link problems:

  http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php

17 years agoHave text search thesaurus files use "?" for stop words.
Bruce Momjian [Sat, 10 Nov 2007 15:39:34 +0000 (15:39 +0000)]
Have text search thesaurus files use "?" for stop words.

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.

17 years agoReduce error level of ROLLBACK outside a transaction from WARNING to
Bruce Momjian [Sat, 10 Nov 2007 14:36:44 +0000 (14:36 +0000)]
Reduce error level of ROLLBACK outside a transaction from WARNING to
NOTICE.

17 years agoFix markup problem with recent pg_ctl change.
Bruce Momjian [Sat, 10 Nov 2007 14:07:18 +0000 (14:07 +0000)]
Fix markup problem with recent pg_ctl change.

17 years agoHave crosstab variants treat NULL rowid as a category in its own right,
Joe Conway [Sat, 10 Nov 2007 05:00:41 +0000 (05:00 +0000)]
Have crosstab variants treat NULL rowid as a category in its own right,
per suggestion from Tom Lane. This fixes crash-bug reported by Stefan
Schwarzer.

17 years agoProperly order pg_ctl -c option alphabetically in docs.
Bruce Momjian [Sat, 10 Nov 2007 04:52:17 +0000 (04:52 +0000)]
Properly order pg_ctl -c option alphabetically in docs.

17 years agoRecognize RETURN QUERY via a textual test, so that QUERY doesn't need to be
Tom Lane [Fri, 9 Nov 2007 23:58:32 +0000 (23:58 +0000)]
Recognize RETURN QUERY via a textual test, so that QUERY doesn't need to be
a plpgsql keyword.  This avoids springing a new reserved word on plpgsql
programmers.
For consistency, handle RETURN NEXT the same way.

17 years agoRemove tabs from SGML files.
Bruce Momjian [Fri, 9 Nov 2007 23:52:08 +0000 (23:52 +0000)]
Remove tabs from SGML files.

17 years agoAdd an expected-results file to get regression to pass cleanly in sv_SE
Tom Lane [Fri, 9 Nov 2007 22:52:08 +0000 (22:52 +0000)]
Add an expected-results file to get regression to pass cleanly in sv_SE
locale, which sorts a bit differently.  Per recent gripe from Magnus.

17 years agoClean up ts_locale.h/.c. Fix broken and not-consistent-across-platforms
Tom Lane [Fri, 9 Nov 2007 22:37:35 +0000 (22:37 +0000)]
Clean up ts_locale.h/.c.  Fix broken and not-consistent-across-platforms
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.

17 years agoPoint to our own UUID page instead of to Wikipedia.
Alvaro Herrera [Fri, 9 Nov 2007 22:22:46 +0000 (22:22 +0000)]
Point to our own UUID page instead of to Wikipedia.

17 years agoSecond pass at improving LIKE/regex estimation in non-C locales. It turns
Tom Lane [Fri, 9 Nov 2007 20:10:02 +0000 (20:10 +0000)]
Second pass at improving LIKE/regex estimation in non-C locales.  It turns
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.

17 years agoAdd parameter krb_realm used by GSSAPI, SSPI and Kerberos
Magnus Hagander [Fri, 9 Nov 2007 17:31:07 +0000 (17:31 +0000)]
Add parameter krb_realm used by GSSAPI, SSPI and Kerberos
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.

17 years agoMove pl/proxy into Multi-server parallel query execution documentation
Bruce Momjian [Fri, 9 Nov 2007 16:36:04 +0000 (16:36 +0000)]
Move pl/proxy into Multi-server parallel query execution documentation
section.

17 years agoAllow XML processing instructions starting with "xml" while prohibiting
Peter Eisentraut [Fri, 9 Nov 2007 15:52:51 +0000 (15:52 +0000)]
Allow XML processing instructions starting with "xml" while prohibiting
those being exactly "xml".  Bug #3735 from Ben Leslie

17 years agoIn tsearch code, remove !(A && B) via restructuring, for clarity
Bruce Momjian [Fri, 9 Nov 2007 01:32:22 +0000 (01:32 +0000)]
In tsearch code, remove !(A && B) via restructuring, for clarity

17 years agoIf an index depends on no columns of its table, give it a dependency on the
Tom Lane [Thu, 8 Nov 2007 23:22:54 +0000 (23:22 +0000)]
If an index depends on no columns of its table, give it a dependency on the
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.

17 years agoWording improvement for pl/proxy mention.
Bruce Momjian [Thu, 8 Nov 2007 22:14:18 +0000 (22:14 +0000)]
Wording improvement for pl/proxy mention.

17 years agoAdd mention of pl/proxy toolset to docs.
Bruce Momjian [Thu, 8 Nov 2007 22:08:18 +0000 (22:08 +0000)]
Add mention of pl/proxy toolset to docs.

17 years agoFix EquivalenceClass code to handle volatile sort expressions in a more
Tom Lane [Thu, 8 Nov 2007 21:49:48 +0000 (21:49 +0000)]
Fix EquivalenceClass code to handle volatile sort expressions in a more
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.

17 years agoLast week's patch for make_sort_from_pathkeys wasn't good enough: it has
Tom Lane [Thu, 8 Nov 2007 19:25:37 +0000 (19:25 +0000)]
Last week's patch for make_sort_from_pathkeys wasn't good enough: it has
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.

17 years agoProperly indent SGML file.
Bruce Momjian [Thu, 8 Nov 2007 19:18:23 +0000 (19:18 +0000)]
Properly indent SGML file.

17 years agoAdd "High Availability, Load Balancing, and Replication Feature Matrix"
Bruce Momjian [Thu, 8 Nov 2007 19:16:30 +0000 (19:16 +0000)]
Add "High Availability, Load Balancing, and Replication Feature Matrix"
table to docs.

17 years agoMove NFS section into "Creating Cluster" documentation section because
Bruce Momjian [Thu, 8 Nov 2007 15:21:03 +0000 (15:21 +0000)]
Move NFS section into "Creating Cluster" documentation section because
it seems more logical there.

17 years agoAfter conferencing again with Bruce, put in more accurate XML error message.
Peter Eisentraut [Thu, 8 Nov 2007 15:16:45 +0000 (15:16 +0000)]
After conferencing again with Bruce, put in more accurate XML error message.

17 years agoAdjust test results for message changes. Darn.
Peter Eisentraut [Thu, 8 Nov 2007 14:56:37 +0000 (14:56 +0000)]
Adjust test results for message changes. Darn.

17 years agoWording changes
Peter Eisentraut [Thu, 8 Nov 2007 14:47:51 +0000 (14:47 +0000)]
Wording changes

17 years agoAdd sentence-ending periods.
Peter Eisentraut [Thu, 8 Nov 2007 14:47:41 +0000 (14:47 +0000)]
Add sentence-ending periods.

17 years agoMention text search instead of tsearch2
Peter Eisentraut [Thu, 8 Nov 2007 13:13:51 +0000 (13:13 +0000)]
Mention text search instead of tsearch2

17 years agoSmall fixes
Peter Eisentraut [Thu, 8 Nov 2007 13:13:28 +0000 (13:13 +0000)]
Small fixes

17 years agoImprove error message
Peter Eisentraut [Thu, 8 Nov 2007 13:12:56 +0000 (13:12 +0000)]
Improve error message

17 years agoAdd missing newlines to error messages, and normalize wording a bit.
Peter Eisentraut [Thu, 8 Nov 2007 10:37:54 +0000 (10:37 +0000)]
Add missing newlines to error messages, and normalize wording a bit.

17 years agoImprove the performance of LIKE/regex estimation in non-C locales, by making
Tom Lane [Wed, 7 Nov 2007 22:37:24 +0000 (22:37 +0000)]
Improve the performance of LIKE/regex estimation in non-C locales, by making
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...

17 years agoFix patternsel() and callers to do the right thing for NOT LIKE and the other
Tom Lane [Wed, 7 Nov 2007 21:00:37 +0000 (21:00 +0000)]
Fix patternsel() and callers to do the right thing for NOT LIKE and the other
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.

17 years ago<optional> cannot be used here, because psql doesn't handle it.
Peter Eisentraut [Wed, 7 Nov 2007 14:07:53 +0000 (14:07 +0000)]
<optional> cannot be used here, because psql doesn't handle it.

17 years agoConsistent capitalization
Peter Eisentraut [Wed, 7 Nov 2007 14:07:21 +0000 (14:07 +0000)]
Consistent capitalization

17 years agoImprove wording
Peter Eisentraut [Wed, 7 Nov 2007 13:23:20 +0000 (13:23 +0000)]
Improve wording

17 years agoSpecify putting two spaces after sentence-ending period, which is current
Peter Eisentraut [Wed, 7 Nov 2007 13:12:21 +0000 (13:12 +0000)]
Specify putting two spaces after sentence-ending period, which is current
practice also.

17 years agoError message cleanup
Peter Eisentraut [Wed, 7 Nov 2007 13:11:05 +0000 (13:11 +0000)]
Error message cleanup

17 years agoUse "alternative" instead of "alternate" where it is clearer.
Peter Eisentraut [Wed, 7 Nov 2007 12:24:24 +0000 (12:24 +0000)]
Use "alternative" instead of "alternate" where it is clearer.

17 years agoFixed two parser bugs.
Michael Meskes [Tue, 6 Nov 2007 08:32:08 +0000 (08:32 +0000)]
Fixed two parser bugs.

17 years agoSome code review for xml.c:
Tom Lane [Tue, 6 Nov 2007 03:06:28 +0000 (03:06 +0000)]
Some code review for xml.c:
Add some more xml_init() calls that might not be necessary, but seem like a
good idea to avoid possible problems like we saw in xmlelement().
Fix unsafe assumption that you can keep using the tupledesc of a relcache
entry you don't have open.
Add missing error checks for SearchSysCache failure.
Get rid of handwritten array traversal in xpath() and O(N^2), broken-for-nulls
array access code in map_sql_value_to_xml_value(), in favor of using
deconstruct_array.
Manually adjust a lot of line breaks in places where the code is otherwise
gonna look pretty awful after pg_indent hacks it up (original author seems to
have liked to lay out code for a 200-column window).

17 years agoFix xmlelement() to initialize libxml correctly before using it, and to avoid
Tom Lane [Mon, 5 Nov 2007 22:23:07 +0000 (22:23 +0000)]
Fix xmlelement() to initialize libxml correctly before using it, and to avoid
assuming that evaluation of its input expressions won't change the state of
libxml.  This requires refactoring xml_init() to not call xmlInitParser(),
since now not all of its callers want that.  I also tweaked things to avoid
repeated execution of one-time-only tests inside xml_init(), though this is
mostly for clarity rather than in hopes of saving any noticeable amount of
runtime.  Per report from Sheikh Amjad and subsequent discussion.
In passing, fix a couple of inadequately schema-qualified queries.

17 years agoFix deprecated-by-C-spec usage: storage class should come before const
Tom Lane [Mon, 5 Nov 2007 20:57:24 +0000 (20:57 +0000)]
Fix deprecated-by-C-spec usage: storage class should come before const
decoration.  Zdenek Kotala

17 years agoImprove conversion of legacy CREATE CONSTRAINT TRIGGER representation of
Tom Lane [Mon, 5 Nov 2007 19:00:25 +0000 (19:00 +0000)]
Improve conversion of legacy CREATE CONSTRAINT TRIGGER representation of
foreign keys, one more time.  Insist on matching up all three triggers before
we create a constraint; this will avoid creation of duplicate constraints
in scenarios where a broken FK constraint was repaired by re-adding the
constraint without removing the old partial trigger set.  Basically, this will
work nicely in all cases where the FK was actually functioning correctly in
the database that was dumped.  It will fail to restore an FK in just one case
where we theoretically could restore it: where we find the referenced table's
triggers and not the referencing table's trigger.  However, in such a scenario
it's likely that the user doesn't even realize he still has an FK at all
(since the more-likely-to-fail cases aren't enforced), and we'd probably not
accomplish much except to cause the reload to fail because the data doesn't
meet the FK constraint.  Also make the NOTICE logging still more verbose, by
adding detail about which of the triggers were found.  This seems about all
we can do without solving the problem of getting the user's attention at
session end.

17 years agoDocument that configure option only affects contrib:
Bruce Momjian [Mon, 5 Nov 2007 17:43:20 +0000 (17:43 +0000)]
Document that configure option only affects contrib:

 --with-ossp-uuid        use OSSP UUID library when building /contrib/uuid-ossp

17 years agoMinor editorial improvements to txid functions' documentation: put back
Tom Lane [Mon, 5 Nov 2007 17:40:21 +0000 (17:40 +0000)]
Minor editorial improvements to txid functions' documentation: put back
some text that got dropped, improve markup, improve descriptions of
snapshot components.

17 years agoDocument that syncronhous commit can be turned off in a single
Bruce Momjian [Mon, 5 Nov 2007 17:35:38 +0000 (17:35 +0000)]
Document that syncronhous commit can be turned off in a single
multi-statement transaction.

17 years agoProperly pass third argument to open() in fsync test program.
Bruce Momjian [Mon, 5 Nov 2007 17:10:26 +0000 (17:10 +0000)]
Properly pass third argument to open() in fsync test program.

Hiroshi Saito

17 years agoRemove <sect1> of txid functions.
Bruce Momjian [Mon, 5 Nov 2007 16:57:23 +0000 (16:57 +0000)]
Remove <sect1> of txid functions.

17 years agoMove txid snapshot field description table from datatype to functions section.
Bruce Momjian [Mon, 5 Nov 2007 16:45:52 +0000 (16:45 +0000)]
Move txid snapshot field description table from datatype to functions section.

17 years agoFix typos.
Magnus Hagander [Mon, 5 Nov 2007 15:55:53 +0000 (15:55 +0000)]
Fix typos.

Guillaume Lelarge

17 years agoDocument txid functions.
Bruce Momjian [Mon, 5 Nov 2007 14:51:08 +0000 (14:51 +0000)]
Document txid functions.

Marko Kreen

17 years agoAdd a note about another issue that needs to be considered before
Tom Lane [Mon, 5 Nov 2007 14:11:17 +0000 (14:11 +0000)]
Add a note about another issue that needs to be considered before
changing the TOAST size thresholds.

17 years agoRemove deprecation notice and add comment about safely restoring backups.
D'Arcy J.M. Cain [Mon, 5 Nov 2007 12:02:20 +0000 (12:02 +0000)]
Remove deprecation notice and add comment about safely restoring backups.
As per discussion on hackers.

17 years agoUse LOG instead of DEBUG2 for logging invalid cancel requests. (That is,
Neil Conway [Mon, 5 Nov 2007 00:00:34 +0000 (00:00 +0000)]
Use LOG instead of DEBUG2 for logging invalid cancel requests. (That is,
cancel requests with an incorrect key, or with a non-existent PID). Per
recent discussion on -hackers.

17 years agoWorking improvement.
Bruce Momjian [Sun, 4 Nov 2007 21:50:28 +0000 (21:50 +0000)]
Working improvement.

17 years agoAdd link to NFS section from "creating a database cluster.
Bruce Momjian [Sun, 4 Nov 2007 21:48:03 +0000 (21:48 +0000)]
Add link to NFS section from "creating a database cluster.

17 years agoDocument possible problems with NFS tablespaces.
Bruce Momjian [Sun, 4 Nov 2007 21:40:02 +0000 (21:40 +0000)]
Document possible problems with NFS tablespaces.

17 years agoMinor improvements to code for converting legacy CREATE CONSTRAINT TRIGGER
Tom Lane [Sun, 4 Nov 2007 21:25:55 +0000 (21:25 +0000)]
Minor improvements to code for converting legacy CREATE CONSTRAINT TRIGGER
commands into proper foreign-key constraints.  Believe the constraint name
given in the trigger arguments in preference to the trigger name --- to judge
from Olivier Prenant's example, pg_dump must at some time have used the
autogenerated trigger name there, though AFAICT no current release branch tip
does.  Improve the emitted NOTICEs to provide more detail (PK table's name and
column names).  Handle the case where pg_dump forgot to provide the FROM table
(a bug that never did get fixed in 7.0.x apparently).  This commit doesn't
do anything about the question of what to do with incomplete trigger groups.

17 years agoProperly indent tablespace SGML section.
Bruce Momjian [Sun, 4 Nov 2007 19:43:33 +0000 (19:43 +0000)]
Properly indent tablespace SGML section.

17 years agoMention "replication" in the title of the high availability and load
Bruce Momjian [Sun, 4 Nov 2007 19:23:24 +0000 (19:23 +0000)]
Mention "replication" in the title of the high availability and load
balancing chapter because some people were looking for 'replication' and
didn't realize that chapter addressed it.

17 years agoUpdate wording for xsl configure option.
Bruce Momjian [Sun, 4 Nov 2007 18:53:39 +0000 (18:53 +0000)]
Update wording for xsl configure option.

17 years agoDocument that configure --with-libxslt controls just /contrib/xml2.
Bruce Momjian [Sun, 4 Nov 2007 18:10:42 +0000 (18:10 +0000)]
Document that configure --with-libxslt controls just /contrib/xml2.

Nikolay Samokhvalov

17 years agoPrevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR
Tom Lane [Sun, 4 Nov 2007 17:55:15 +0000 (17:55 +0000)]
Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR
enabled) and autovacuum is on.  Since there will be a steady stream of autovac
worker processes exiting and dropping gmon.out files, allowing them to make
separate subdirectories results in serious bloat; and it seems unlikely that
anyone will care about those profiles anyway.  Limit the damage by forcing all
autovac workers to dump in one subdirectory, PGDATA/gprof/avworker/.

Per report from J\9arg Beyer and subsequent discussion.

17 years agoTeach CREATE CONSTRAINT TRIGGER to convert old-style foreign key
Tom Lane [Sun, 4 Nov 2007 01:16:19 +0000 (01:16 +0000)]
Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key
trigger definitions into regular foreign key constraints.  This seems
necessary given that some people evidently never did get around to
running adddepend on their schemas, and without some sort of hack the
old definitions will no longer work.  Per report from Olivier Prenant
and subsequent investigation.