Commit Graph

7459 Commits

Author SHA1 Message Date
Tom Lane
e1b8a55ec8 Remove caveat about avoiding cross-type operators in constraints intended
for use with constraint exclusion.  We can prove those cases now...
2006-12-28 20:02:38 +00:00
Bruce Momjian
91868e7df0 Done:
< * Move some /contrib modules out to their own project sites
<
<   Particularly, move GPL-licensed /contrib/userlock and
<   /contrib/dbmirror/clean_pending.pl.
<
2006-12-28 18:01:20 +00:00
Tom Lane
de9be563d4 Use FROM clause in example UPDATE commands where appropriate. Also
remove long-obsolete statement that there isn't a check for infinite
recursion in view rules.
2006-12-27 16:07:36 +00:00
Bruce Momjian
4f1e49119e Use "dead" rather than "expired" for vacuumable rows. 2006-12-27 14:55:17 +00:00
Tom Lane
4a836bad3a Remove incorrect semicolon in example. Joachim Wieland 2006-12-26 16:14:58 +00:00
Tom Lane
c957c0bac7 Code review for XML patch. Instill a bit of sanity in the location of
the XmlExpr code in various lists, use a representation that has some hope
of reverse-listing correctly (though it's still a de-escaping function
shy of correctness), generally try to make it look more like Postgres
coding conventions.
2006-12-24 00:29:20 +00:00
Bruce Momjian
ef5870350a Change a VACUUM manual page word from 'deleted' to 'expired', so DELETE
and UPDATE are clearly covered by the term.
2006-12-23 01:58:40 +00:00
Bruce Momjian
05911de4da Document that CREATE TYPE names should not begin with an underscore,
rather than being disallowed.
2006-12-23 01:28:09 +00:00
Tom Lane
a78fcfb512 Restructure operator classes to allow improved handling of cross-data-type
cases.  Operator classes now exist within "operator families".  While most
families are equivalent to a single class, related classes can be grouped
into one family to represent the fact that they are semantically compatible.
Cross-type operators are now naturally adjunct parts of a family, without
having to wedge them into a particular opclass as we had done originally.

This commit restructures the catalogs and cleans up enough of the fallout so
that everything still works at least as well as before, but most of the work
needed to actually improve the planner's behavior will come later.  Also,
there are not yet CREATE/DROP/ALTER OPERATOR FAMILY commands; the only way
to create a new family right now is to allow CREATE OPERATOR CLASS to make
one by default.  I owe some more documentation work, too.  But that can all
be done in smaller pieces once this infrastructure is in place.
2006-12-23 00:43:13 +00:00
Bruce Momjian
d31ccb6c3e Add a link to the developer's FAQ for my article about how companies can
work effectively with open source communities.
2006-12-22 22:42:36 +00:00
Bruce Momjian
03d2a1c688 Slight adjustments to xml documentation to reflect functionality just
added.
2006-12-22 22:09:31 +00:00
Peter Eisentraut
8c1de5fb00 Initial SQL/XML support: xml data type and initial set of functions. 2006-12-21 16:05:16 +00:00
Bruce Momjian
ed1e9cd501 8.3 release schedule is year 2007, not 2006. 2006-12-20 16:22:14 +00:00
Bruce Momjian
1cacb3a098 Add timeline for next release to developer's FAQ. 2006-12-19 22:37:37 +00:00
Bruce Momjian
f528e242fc Item done.
< 	o Improve xid wraparound detection by recording per-table rather
< 	  than per-database
2006-12-19 21:57:10 +00:00
Andrew Dunstan
5133dd786b Interpret a dbName param to PQsetdbLogin as a conninfo string if it contains an = sign. Tom Lane and Andrew Dunstan. 2006-12-19 01:53:36 +00:00
Tom Lane
93b4f0ff77 Set pg_am.amstrategies to zero for index AMs that don't have fixed
operator strategy numbers, ie, GiST and GIN.  This is almost cosmetic
enough to not need a catversion bump, but since the opr_sanity regression
test has to change in sync with the catalog entry, I figured I'd better
do one.
2006-12-18 18:56:29 +00:00
Bruce Momjian
cdcee16588 Fix typo:
<   While PostgreSQL clients runs fine limited-resource environments, the
>   While PostgreSQL clients runs fine in limited-resource environments, the
2006-12-17 03:57:07 +00:00
Bruce Momjian
6874fb90c0 Move entry into CLUSTER section:
< * Make CLUSTER preserve recently-dead tuples per MVCC requirements
> 	o Make CLUSTER preserve recently-dead tuples per MVCC requirements
2006-12-17 03:55:21 +00:00
Bruce Momjian
421c1ca48d Back out double-run of PDF/PS output. Requires building bookindex.sgml
properly.

Remove SGML docs about openjade performance patch, and instead add
comment in style sheet where indenting code is commented out.

Backpatch to 8.2.X.
2006-12-15 16:50:07 +00:00
Bruce Momjian
8186e7ef89 TODO item not wanted:
>
> * Embedded server (not wanted)
>
>   While PostgreSQL clients runs fine limited-resource environments, the
>   server requires multiple processes and a stable pool of resources to
>   run reliabily and efficiently.  Stripping down the PostgreSQL server
>   to run in the same process address space as the client application
>   would add too much complexity and failure cases.
2006-12-15 15:40:52 +00:00
Bruce Momjian
2356c9fc4c Link to summary XML email, rather than thread top:
< * Consider changing documentation from SGML to XML
> * Consider changing documentation format from SGML to XML
<   http://archives.postgresql.org/pgsql-docs/2006-12/msg00033.php
>   http://archives.postgresql.org/pgsql-docs/2006-12/msg00152.php
2006-12-15 13:28:54 +00:00
Bruce Momjian
eb838baf49 Document issues for SGML and XML:
>
> * Consider changing documentation from SGML to XML
>
>   http://archives.postgresql.org/pgsql-docs/2006-12/msg00033.php
>
2006-12-15 03:01:20 +00:00
Bruce Momjian
c4dfc4137e Document patch needed to get PDF and PS output in a reasonable amount of
time.
2006-12-15 02:44:28 +00:00
Bruce Momjian
9c92007029 Remove unneeded tab in file. 2006-12-15 02:19:21 +00:00
Bruce Momjian
6f84d53110 Run Jade twice when outputting Postscript and PDF so the index is
correct, add comments about other multiple runs in the Makefile.

Backpatch to 8.2.X.
2006-12-15 01:20:59 +00:00
Bruce Momjian
8283cd7663 Update entry:
< * Have EXPLAIN ANALYZE highlight poor optimizer estimates
> * Have EXPLAIN ANALYZE issue NOTICE messages when the estimated and
>   actual row counts differ by a specified percentage
2006-12-12 22:31:19 +00:00
Bruce Momjian
0afabecbfd Document that log_line_prefix %t does not print timezone on Win32. 2006-12-12 21:30:33 +00:00
Bruce Momjian
faf69ee4a3 Oops, removed:
< * Allow REINDEX CONCURRENTLY
2006-12-12 20:34:33 +00:00
Bruce Momjian
0f45c0890b Add:
> * Allow REINDEX CONCURRENTLY
2006-12-12 20:33:15 +00:00
Bruce Momjian
876ef5d5c9 Remove blank lines in HTML FAQ. 2006-12-11 22:46:02 +00:00
Bruce Momjian
051b52c886 Add FAQ entry to mention using COALESCE() for concatenation of possible
NULLs.
2006-12-11 22:44:53 +00:00
Peter Eisentraut
314c7b642b Make separate targets for building printable documentation in A4 and
US letter paper formats.
2006-12-10 20:46:03 +00:00
Peter Eisentraut
5f1f30d136 Reorganize XSLT stylesheet support. Put common things into a separate
file (instead of repeating), add XSL-FO stylesheet and appropriate make
rules.
2006-12-10 16:01:06 +00:00
Peter Eisentraut
0a265e487b Add some information about increasing JadeTeX parameters. 2006-12-10 02:37:40 +00:00
Peter Eisentraut
465269b8ad Drop indentation of verbatim environments in print output. This increased
the build time by what seemed like infinity.
2006-12-10 01:55:29 +00:00
Peter Eisentraut
c605441c79 Generalize Texinfo rules. Prevent them from overriding the PostScript
build rules.
2006-12-10 01:53:15 +00:00
Tom Lane
0cb91ccba9 Remove the logId/logSeg fields from pg_control, because they are not needed
in normal operation, and we can avoid rewriting pg_control at every log
segment switch if we don't insist that these values be valid.  Reducing
the number of pg_control updates is a good idea for both performance and
reliability.  It does make pg_resetxlog's life a bit harder, but that seems
a good tradeoff; and anyway the change to pg_resetxlog amounts to automating
something people formerly needed to do by hand, namely look at the existing
pg_xlog files to make sure the new WAL start point was past them.

In passing, change the wording of xlog.c's "database system was interrupted"
messages: describe the pg_control timestamp as "last known up at" rather than
implying it is the exact time of service interruption.  With this change the
timestamp will generally be the time of the last checkpoint, which could be
many minutes before the failure; and we've already seen indications that
people tend to misinterpret the old wording.

initdb forced due to change in pg_control layout.  Simon Riggs and Tom Lane
2006-12-08 19:50:53 +00:00
Tom Lane
98cacd1a0a Fix broken markup. 2006-12-08 19:16:17 +00:00
Neil Conway
886a02d1cb Add a txn_start column to pg_stat_activity. This makes it easier to
identify long-running transactions. Since we already need to record
the transaction-start time (e.g. for now()), we don't need any
additional system calls to report this information.

Catversion bumped, initdb required.
2006-12-06 18:06:48 +00:00
Bruce Momjian
a39e3958e9 Change psql \\ example to use single quotes, per TOm. 2006-12-06 15:47:22 +00:00
Bruce Momjian
a4242d7f87 Back out mention of port success from FAQs, per Tom, added by Simon. 2006-12-06 15:45:31 +00:00
Bruce Momjian
d7f316d28e Clean up psql -c documentation that uses \\. 2006-12-06 15:40:11 +00:00
Bruce Momjian
a6f156b931 Make URL to docs use /current/. 2006-12-05 23:13:41 +00:00
Bruce Momjian
c08cfab407 Fix documentation example of using psql \x with a SELECT command, per
Simon Riggs.  Backpatch to 8.2.X.
2006-12-05 17:40:55 +00:00
Bruce Momjian
5b2def8969 Update of port patches, HEAD patch only.
Simon Riggs
2006-12-05 14:47:34 +00:00
Bruce Momjian
37885a4d4b Update most recent version from 8.2 to 8.2.0. 2006-12-02 12:15:50 +00:00
Peter Eisentraut
133d1e8e5b Collect the bits of wisdom about dtrace installation in the installation
chapter rather than scattering them across several incomplete fragments.
2006-12-02 09:29:51 +00:00
Bruce Momjian
f8660e309d Stamp 8.2, except configure.in. 2006-12-02 04:12:39 +00:00
Bruce Momjian
73500fd8b5 Update for release 8.2. 2006-12-02 04:12:11 +00:00
Peter Eisentraut
579c58761c Wording refinement for external references in man pages. 2006-12-02 01:26:19 +00:00
Peter Eisentraut
b9dbb63e48 Don't ship spi_* man pages. (We don't do that anyway, but now it's automatic.) 2006-12-02 01:25:50 +00:00
Tom Lane
ceb1cc90e3 Put release date in release notes. 2006-12-02 00:46:46 +00:00
Tom Lane
606b10f959 Add some documentation for DTrace support. Simon Riggs 2006-12-02 00:42:54 +00:00
Peter Eisentraut
d92b939a0a Make Options for Windows a second-level heading instead of first-level. 2006-12-02 00:34:52 +00:00
Tom Lane
08fa6a6851 Editorial improvements for GIN documentation. 2006-12-01 23:46:46 +00:00
Tom Lane
a88ec7b4bb Some more supported-platforms updates: buildfarm hare is alive again,
and penguin reported in recently enough to justify the assumption that
we haven't broken ARM support in 8.2.
2006-12-01 21:17:51 +00:00
Tom Lane
c184470be3 Document the recently-understood hazard that a rollback can release row-level
locks that logically should not be released, because when a subtransaction
overwrites XMAX all knowledge of the previous lock state is lost.  It seems
unlikely that we will be able to fix this before 8.3...
2006-12-01 20:49:53 +00:00
Tom Lane
b02414bb82 Editorial improvements to backup and warm-standby documentation. 2006-12-01 03:29:15 +00:00
Tom Lane
f378ccc261 Minor wording improvements. 2006-12-01 03:19:48 +00:00
Tom Lane
da6daee216 Adjust the description of locking to clarify that locks held by a
subtransaction are released if the subtransaction aborts --- in user-level
terminology, this means either rolling back to a savepoint or escaping from
a plpgsql exception block.  Per recent suggestion from Simon.
2006-12-01 01:04:36 +00:00
Tom Lane
cd99debb3d Update supported-platforms list based on recent buildfarm results. 2006-11-30 21:30:22 +00:00
Peter Eisentraut
f1e3e3238d Fix typos 2006-11-30 20:50:44 +00:00
Tom Lane
7bbe35a540 Add an example showing how to cope with mixed-case names in pg_dump
switches.
2006-11-28 22:54:18 +00:00
Tom Lane
c15de02f61 Fix inheritance description to note that not-null constraints are
inherited, per Taiki Yamaguchi.
2006-11-28 01:09:01 +00:00
Tom Lane
81b0b06462 Make pg_restore usage examples more useful: illustrate restoring into
both the same database name and a different one.
2006-11-26 18:11:11 +00:00
Peter Eisentraut
50271fc9b3 Fix misspellings of GB. 2006-11-25 22:55:59 +00:00
Peter Eisentraut
818ac8479b Correct misspellings of kB. 2006-11-25 22:44:48 +00:00
Neil Conway
b12add99c2 Cosmetic release note fix. 2006-11-25 07:03:57 +00:00
PostgreSQL Daemon
c11b5228cf update for rc1 2006-11-25 03:34:13 +00:00
Bruce Momjian
f14d43d2d3 Document that to_char() "TM" is controlled by lc_messages. 2006-11-25 00:38:53 +00:00
Tom Lane
a7a3d0f0d9 Update release notes for RC1. 2006-11-24 23:31:55 +00:00
Tom Lane
988a87a03a Change pg_stat_all_tables and sister views to put the recently-added
vacuum/analyze timestamp columns at the end, rather than at a random
spot in the middle as in the original patch.  This was deemed more usable
as well as less likely to break existing application code.  initdb forced
accordingly.  In passing, remove former kluge for initializing
pg_stat_file()'s pg_proc entry --- bootstrap mode was fixed recently
so that this can be done without any hacks, but I overlooked this usage.
2006-11-24 21:18:42 +00:00
Bruce Momjian
eb1fbbe5c4 Update wording:
> * Add a field 'isoyear' to extract(), based on the ISO week
2006-11-23 16:18:12 +00:00
Neil Conway
28568e585f Spelling and related minor fixes for the GIN docs. 2006-11-23 05:58:01 +00:00
Neil Conway
34036c8658 More minor SGML improvements for xfunc.sgml, including making some
titles more concise. (We usually don't need to repeat the name of a
section in the title of one of its subsections.)
2006-11-23 05:43:32 +00:00
Bruce Momjian
ebf071643a Document that Kerberos is for authentication, and does not encrypt data
or queries over the network.
2006-11-23 05:39:17 +00:00
Neil Conway
4ed6f6d479 Fix a typo in recent xfunc addition, do some routine SGML police work. 2006-11-23 05:28:18 +00:00
Bruce Momjian
3bd2e3e92b Add:
> * Add ISO day of week format 'ID' to to_char() where Monday = 1
> * Add an ISO year field to extract() called 'isoyear'
2006-11-23 05:09:26 +00:00
Bruce Momjian
cb21b9fc13 Add:
> * Allow SQL-language functions to return results from RETURNING queries
2006-11-23 05:01:47 +00:00
Bruce Momjian
ab79444e7b Add "(assuming <varname>standard_conforming_strings</> is
<literal>off</>)" clauses for bytea.
2006-11-23 04:27:33 +00:00
Bruce Momjian
5f78aa5acf Shared Memory Hooks Documentation
This patch, against xfunc.sgml, adds a new subsection 33.9.12, Shared
Memory and LWLocks in C-Language Functions, describing how shared memory
and lwlocks may be requested by C add-in functions.

Marc Munro
2006-11-23 03:52:05 +00:00
Bruce Momjian
3e0c96b2ec Add release entry for 8.1.5 that was missing:
<listitem><para>Fix rare bug in continuous archiving (Tom)</para></listitem>
2006-11-23 03:30:49 +00:00
Bruce Momjian
2a55984162 More HA wording improvements. 2006-11-22 18:15:34 +00:00
Bruce Momjian
b035722f29 Update HA docs with more wording improvements. 2006-11-22 18:14:26 +00:00
Bruce Momjian
6346355a9b Wording and term clarification for HA docs, per Markus Schiltknecht. 2006-11-22 17:36:52 +00:00
Bruce Momjian
ba2edcac4f Mention OIDs are now not created by default. 2006-11-22 04:17:03 +00:00
Bruce Momjian
8c556ce1c2 New async/sync multi-master headings for docs. 2006-11-22 04:01:40 +00:00
Bruce Momjian
3b0313580e New async/sync multi-master headings for docs. 2006-11-22 04:00:19 +00:00
Bruce Momjian
ffa0e8f0cd Add mention of shared-memory/disk for multi-master clustering. 2006-11-22 03:44:52 +00:00
Bruce Momjian
188b744d95 HA doc wording improvement. 2006-11-21 22:48:33 +00:00
Bruce Momjian
a48e92ea1d Mention pgpool-II can do Clustering For Parallel Query Execution. 2006-11-21 21:37:33 +00:00
Bruce Momjian
de597154a8 Update Statement-Based Replication Middleware docs to be more general. 2006-11-21 18:31:57 +00:00
Bruce Momjian
ca646f66f7 In HA/load balancing does:
Clarify sync/async replication propogation delay issues.
Add SGML comment about Oracle RAC and remove doc mention.
Add item about Multi-master replication with conflict resolution.
2006-11-21 18:15:45 +00:00
Bruce Momjian
ae81a6329d Move libpq environment reference in psql documentation to a more
appropriate place, per Andrew Dunstan.
2006-11-21 17:01:58 +00:00
Bruce Momjian
cc6c10a7a0 Add capitalization mention. 2006-11-21 15:38:09 +00:00
Bruce Momjian
150328cd61 I noticed that the Partitioning section of the docs has *two* sections
of caveats in different places, but close together. One called caveats,
one not. That looks like it just led to somebody not reading some
appropriate caveats in the second group of caveats (on -admin).

Simon Riggs
2006-11-21 03:44:55 +00:00
Tom Lane
414c7a537e Change the default setting for log_min_error_statement to ERROR. Per
recent discussion in which majority opinion was that this is a more
widely useful setting than the previous default of PANIC.
2006-11-21 01:23:37 +00:00
Bruce Momjian
778bb7b60d Retitle documentation section, "Statement-Based Replication Using Middleware". 2006-11-20 22:07:56 +00:00
Bruce Momjian
b8c01d9dac Add mention that Shared Disk Failover can use file system mirroring of
the mirroring is consistent.
2006-11-20 21:26:22 +00:00
Bruce Momjian
fb2619859c Update Brazilian FAQ.
Euler Taveira de Oliveira
2006-11-20 20:58:40 +00:00
Bruce Momjian
016e0b4177 For to_char() day/month abbrevitions, mention "3 chars in English,
localized lengths vary".
2006-11-20 20:20:18 +00:00
Bruce Momjian
f88fff1e61 Our MingW FAQ appears to be seriously out of date. Couple of fixes: we
want to direct MSI downloads to main download site, NT4 not supported
anymore, msvc build env in progress, pgsql-hackers-win32 is no more.

Magnus Hagander
2006-11-20 19:31:27 +00:00
Neil Conway
e2b1dbd394 Overhaul the "External Projects" chapter in the manual. Replace
the variabelist with a more concise table, add a URL for each project,
remove some orphaned projects, add PL/Py, and various other changes.
Initial patch from Robert Treat, subsequent work by Neil Conway.
2006-11-20 17:42:16 +00:00
Bruce Momjian
900c9962f7 Update documentation to use Statement-Based Replication rather than
Query Broadcast.
2006-11-20 15:07:13 +00:00
Tom Lane
fa3d622cb0 Clarify description of CIDR-address column of pg_hba.conf, to discourage
people from trying notations like '10.6/16', which is accepted but does
not mean what you probably think.  Per example from Paul Forgey.
2006-11-17 23:25:17 +00:00
Bruce Momjian
e1693e514c Rename replication section "High Availability and Load Balancing". 2006-11-17 16:38:44 +00:00
Bruce Momjian
cc9698254c Data Partitioning documentation section reduced and moved to the end. 2006-11-17 13:29:53 +00:00
Neil Conway
42cfdfb453 Fix a typo. 2006-11-17 09:00:03 +00:00
Michael Meskes
4b8049b815 Fixed small typo, missing 'l' in 'Cluserting' 2006-11-17 08:46:53 +00:00
Neil Conway
be4dbd9b26 Remove a bunch of antique information from the appendix in the docs
that discusses CVS. Remove the recommendation to use cvs 1.10. Remove
discussion of alleged CVSup binaries on postgresql.org, because they
have not existed for several years. Remove discussion of how to
build cvsup from source because the existing text is outdated, and
more accurate information is available from the CVSup homepage.
2006-11-17 05:29:46 +00:00
Bruce Momjian
58a7efa03b Use more standard terms for replication, ideas from Markus Schiltknecht. 2006-11-17 04:52:46 +00:00
Bruce Momjian
8a6193333c Mention two-phase commit for having all transactions commit on all servers. 2006-11-16 21:45:25 +00:00
Bruce Momjian
a1e5b5c832 Reconfigure failover/replication doc items to be varlist entries, rather
than new sections, so they appear all on the same web page.
2006-11-16 21:43:33 +00:00
Bruce Momjian
c7a6046a59 Clarify replication items, and define some terms. 2006-11-16 18:25:58 +00:00
Bruce Momjian
2b7cef5fb3 Improve broadcast wording for failover/clustering documentation. 2006-11-15 01:09:08 +00:00
Bruce Momjian
9497454ca6 Add URL for case identifiers.
<
>   http://archives.postgresql.org/pgsql-hackers/2006-10/msg01527.php
2006-11-14 22:26:49 +00:00
Bruce Momjian
0fc2947729 Fix xrefs for failover changes. 2006-11-14 22:25:15 +00:00
Bruce Momjian
ca21417a34 Update failover docs, per suggestions from Chris Browne. 2006-11-14 21:43:00 +00:00
Bruce Momjian
77f24a46b7 Fix URL for patch hold queue. 2006-11-14 04:18:55 +00:00
Andrew Dunstan
751e3e6bd8 Force plperl and plperlu to run in separate interpreters. Create an error
on an attempt to create the second interpreter if this is not supported by
the perl installation. Per recent -hackers discussion.
2006-11-13 17:13:57 +00:00
Neil Conway
f49baa73ef Do a round of copy-editing for the system catalog chapter. In particular,
consistently capitalize the content of the "Description" column but do
not include a terminating period, as is the convention elsewhere in the
docs. Also, remove the "References" column from catalog that do not
have any referencing columns, for the sake of brevity. Make various
other SGML and grammar fixes.
2006-11-12 06:25:37 +00:00
Neil Conway
2b5fedc0d7 Minor improvements to the description of archive_timeout. 2006-11-12 05:12:42 +00:00
Tom Lane
792d6edd5b Clean up some misleading references to %p being a full path, per Simon. 2006-11-10 22:32:20 +00:00
Tom Lane
1456c5b507 Improve formatting of PQexecParams argument descriptions, per
Theo Kramer.
2006-11-10 22:15:26 +00:00
Tom Lane
2c2faa17f2 Emphasize that immutable and stable functions are not allowed to modify
the database.  xfunc.sgml was already pretty definite on the point, but
it doesn't hurt to make it clear here too.
2006-11-10 20:52:18 +00:00
PostgreSQL Daemon
9b3aee524f Tag as Beta3 ... two outstanding *known* bugs before RC1 ... 2006-11-07 17:59:05 +00:00
Tom Lane
9c3f24bb46 Update release notes in preparation for RC1. 2006-11-06 17:00:27 +00:00
Tom Lane
48188e1621 Fix recently-understood problems with handling of XID freezing, particularly
in PITR scenarios.  We now WAL-log the replacement of old XIDs with
FrozenTransactionId, so that such replacement is guaranteed to propagate to
PITR slave databases.  Also, rather than relying on hint-bit updates to be
preserved, pg_clog is not truncated until all instances of an XID are known to
have been replaced by FrozenTransactionId.  Add new GUC variables and
pg_autovacuum columns to allow management of the freezing policy, so that
users can trade off the size of pg_clog against the amount of freezing work
done.  Revise the already-existing code that forces autovacuum of tables
approaching the wraparound point to make it more bulletproof; also, revise the
autovacuum logic so that anti-wraparound vacuuming is done per-table rather
than per-database.  initdb forced because of changes in pg_class, pg_database,
and pg_autovacuum catalogs.  Heikki Linnakangas, Simon Riggs, and Tom Lane.
2006-11-05 22:42:10 +00:00
Tom Lane
10c70b8602 Add note about space usage of 'manual' approach to clustering, per
suggestion from Sergey Koposov.  Also some other minor editing.
2006-11-04 19:03:51 +00:00
Tom Lane
6fada49805 Correct documentation error: in 8.1 and 8.2, %p in archive and restore
command strings inserts relative not absolute path of file to process.
This is a side-effect of 2005-07-04 change that makes the server use
relative paths in general.  Noted by Bernd Helmle.
2006-11-04 18:20:27 +00:00
Tom Lane
17a814ca02 Mention 'void' as the proper return type when there's nothing to
return, per suggestion from Joachim Wieland.
2006-11-03 07:17:36 +00:00
Tom Lane
7e63445d59 Fix misstatement about the results of using -1 with BEGIN. 2006-10-31 02:29:15 +00:00
Neil Conway
bc4b856e7b Add text to the VACUUM, REINDEX, DROP TABLESPACE and CREATE TABLESPACE
reference pages documenting that these commands cannot be used within
a transaction block. Also make some minor improvements to the psql
reference page. Patch from Simon Riggs, minor editorialization by
myself.
2006-10-31 01:52:31 +00:00
Neil Conway
e45edb35e1 Fix typo in backup docs. Patch from Euler Taveira de Oliveira. 2006-10-30 00:08:02 +00:00
Bruce Momjian
27163e3872 Fix typo in docs. 2006-10-27 12:40:26 +00:00
Bruce Momjian
50f479a112 Fix spelling mistake in docs. 2006-10-26 17:07:03 +00:00
Bruce Momjian
75f0655345 Add missing file for documentation section on failover, replication,
load balancing, and clustering options.
2006-10-26 15:32:45 +00:00
Bruce Momjian
2cbdb5522b Add documentation section on failover, replication, load balancing, and
clustering options.
2006-10-26 15:26:54 +00:00
Bruce Momjian
9601745d35 Correctino, add URL on :
* Add estimated_count(*) to return an estimate of COUNT(*)
>   http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php
2006-10-24 02:42:34 +00:00
Bruce Momjian
2b1ccefe72 Add URL for:
* Speed up COUNT(*)
>   http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php
2006-10-24 02:41:22 +00:00
Tom Lane
cfb3a42831 Rewrite discussion of ORDER BY to emphasize the SQL99 expression case
instead of the SQL92 output-column-ID case.
2006-10-24 02:24:27 +00:00
Tom Lane
66f5264a2e Stamp 8.2beta2. 2006-10-23 22:50:20 +00:00
Peter Eisentraut
0ff4352d7a Add some real descriptions to the multiargument aggregate functions rather
than just showing the incomprehensible formulas.
2006-10-23 19:57:37 +00:00
Tom Lane
28b14b034a Fix broken markup. 2006-10-23 19:29:46 +00:00
Peter Eisentraut
0f763503ff Spellchecking and such 2006-10-23 18:10:32 +00:00
Peter Eisentraut
033cb9d30b Fix list of environment variables for configure. Remove some variables
that are almost never used.  Put documentation-related variables into the
documentation chapter.
2006-10-23 14:13:43 +00:00
Tom Lane
fa5d08fbf8 Some desultory copy-editing. 2006-10-22 03:03:41 +00:00
Tom Lane
ed19393326 Some marginal editorial improvements and updates in the tutorial. 2006-10-21 23:12:57 +00:00
Tom Lane
890ce3975e Further release-note editorialization. 2006-10-21 18:41:53 +00:00
Tom Lane
425417d498 Editorial improvements for recent plpython doc updates. 2006-10-21 18:33:05 +00:00
Bruce Momjian
90f53d8487 Update PQserverVersion() to use 8.1.X as an example, rather than 7.4
because the function didn't exist in 7.4.X.
2006-10-21 18:25:01 +00:00
Bruce Momjian
a7701718b2 Update release notes for new pgcrypto additions.
Marko Kreen
2006-10-21 18:15:44 +00:00
Bruce Momjian
944c4e3feb Add URL for async I/O:
>   http://archives.postgresql.org/pgsql-hackers/2006-10/msg00820.php
2006-10-21 17:31:18 +00:00
Tom Lane
a003bd07f3 Rewrite discussion of string constant syntax to bring it into line with
the politically correct view that backslash escapes are deprecated.
2006-10-21 17:12:07 +00:00
Tom Lane
c9c1c4edf2 Make index entry more specific. 2006-10-21 17:10:43 +00:00
Tom Lane
554032b3e4 Update release notes to current, and do a pass of editorial corrections. 2006-10-20 23:02:20 +00:00
Neil Conway
8b175c75a8 Minor doc tweak: make a reference to pg_locks into a link. 2006-10-20 20:35:13 +00:00
Alvaro Herrera
b0b9bedf8d Fix typo. 2006-10-20 16:34:48 +00:00
Tom Lane
0549ba82e3 Clarify note about interaction of log_statement logging with errors.
Remove obsolete note about logging of statements generated by plpgsql
function execution ... that doesn't happen anymore.
2006-10-19 22:55:25 +00:00
Bruce Momjian
6bc1f9b334 Remove qsort TODO.detail. All items completed. 2006-10-19 19:59:06 +00:00
Bruce Momjian
a60af96a00 Done:
< * Improve port/qsort() to handle sorts with 50% unique and 50% duplicate
<   value [qsort]
<
<   This involves choosing better pivot points for the quicksort.
<
2006-10-19 19:58:45 +00:00
Tom Lane
877f08da14 Fix up timetz input so that a date is required only when the specified
timezone actually has a daylight-savings rule.  This avoids breaking
cases that used to work because they went through the DecodePosixTimezone
code path.  Per contrib regression failures (mea culpa for not running
those yesterday...).  Also document the already-applied change to allow
GMT offsets up to 14 hours.
2006-10-18 16:43:14 +00:00
Bruce Momjian
723f716be0 Fix array operator refererence in release notes, per David Wheeler. 2006-10-18 03:53:50 +00:00
Tom Lane
022fd99668 Fix up some problems in handling of zic-style time zone names in datetime
input routines.  Remove the former "DecodePosixTimezone" function in favor of
letting the zic code handle POSIX-style zone specs (see tzparse()).  In
particular this means that "PST+3" now means the same as "-03", whereas it
used to mean "-11" --- the zone abbreviation is effectively just a noise word
in this syntax.  Make sure that all named and POSIX-style zone names will be
parsed as a single token.  Fix long-standing bogosities in printing and input
of fractional-hour timezone offsets (since the tzparse() code will accept
these, we'd better make 'em work).  Also correct an error in the original
coding of the zic-zone-name patch: in "timestamp without time zone" input,
zone names are supposed to be allowed but ignored, but the coding was such
that the zone changed the interpretation anyway.
2006-10-17 21:03:21 +00:00
Bruce Momjian
d58f09e6b3 Mark 8.2 release as 2006-??, not 2005-??, per observation by David
Wheeler.
2006-10-17 20:17:08 +00:00
Bruce Momjian
47fecaf504 Attached files fix the link problem in FAQ_DEV.html, remove some parts
related to website development and change the link to the FAQ_DEV.html.

Devrim GUNDUZ
2006-10-17 12:54:45 +00:00
Bruce Momjian
10d9bbaf01 Fixes for CREATE CONSTRAINT manual page.
Michael Paesold
2006-10-17 12:53:03 +00:00
Tom Lane
0b35b01e7a Arrange for timezone names to be recognized case-insensitively; for
example SET TIME ZONE 'america/new_york' works now.  This seems a good
idea on general user-friendliness grounds, and is part of the solution
to the timestamp-input parsing problems I noted recently.
2006-10-16 19:58:27 +00:00
Bruce Momjian
a2ebf81913 CREATE CONSTRAINT manual page wording improvements.
Michael Paesold
2006-10-16 19:33:12 +00:00
Bruce Momjian
52831f7911 Update to CREATE CONSTRAINT manual page.
Michael Glaesemann
2006-10-16 19:30:09 +00:00
Bruce Momjian
c2e7da1f62 I updated RPM related parts in FAQ_DEV against HEAD to be more current.
Devrim GUNDUZ
2006-10-16 19:03:43 +00:00
Bruce Momjian
389fad1e6b Remove use of '<' and '>' in SGML, use '&' escapes.
Update find_gt_lt to allow grep parameters to be passed into it.
2006-10-16 17:28:03 +00:00
Bruce Momjian
87eed2e3e1 Update Japanese FAQ.
Jun Kuwamura
2006-10-15 03:10:20 +00:00
Bruce Momjian
fdbe9facdc FAQ updates --- This is a small cosmetic patch that adds pt_BR IRC
channel to the lists of IRC channels, fixes a typo in the OID's
question, and corrects the PGCluster's project name.

Euler Taveira de Oliveira
2006-10-14 23:08:48 +00:00
Tom Lane
1314983fd3 Code review for --no-data-for-failed-tables patch. Instead of trashing
one of the program's core data structures, make use of the existing
ability to selectively exclude TOC items by ID.  Slightly more code but
much less likely to create future maintenance problems.
2006-10-14 23:07:22 +00:00
Tom Lane
f58eac82ee Code and docs review for ALTER TABLE INHERIT/NO INHERIT patch. 2006-10-13 21:43:19 +00:00
Bruce Momjian
d63ddfb872 Update Japanese FAQ.
Jun Kuwamura
2006-10-13 17:29:43 +00:00
Tom Lane
7de6cf2743 Fix typo in version number. 2006-10-13 15:24:56 +00:00
Bruce Momjian
efa0e8639f Remove:
< 	o Issue a notice if CREATE TABLE ... ON COMMIT { DELETE ROWS |
< 	  DROP } is issued outside a multi-statement transaction
2006-10-12 22:33:04 +00:00
Bruce Momjian
ab1cec93c5 Add url's for hints:
>   http://archives.postgresql.org/pgsql-hackers/2006-10/msg00517.php
>   http://archives.postgresql.org/pgsql-hackers/2006-10/msg00663.php
2006-10-12 21:40:15 +00:00
Bruce Momjian
5ee7c794c7 Add:
> 	o Issue a notice if CREATE TABLE ... ON COMMIT { DELETE ROWS |
> 	  DROP } is issued outside a multi-statement transaction
2006-10-12 21:29:24 +00:00
Neil Conway
bfc6e9c970 Make some incremental improvements and fixes to the documentation on
Continuous Archiving. Plenty of editorial work remains...
2006-10-12 19:38:08 +00:00
Tom Lane
0c9983889a Update release notes for SQL functions vs triggers fix. 2006-10-12 19:25:12 +00:00
Neil Conway
7055867a01 In the installation docs, add some links to the documentation on LDAP
to the discussion of the "--with-ldap" configure option. Patch from
Albe Laurenz.
2006-10-12 18:49:32 +00:00
Tom Lane
953c85646e A bit of copy-editing on back-branch release notes. 2006-10-11 20:55:52 +00:00
Peter Eisentraut
4e46f4799e Cleanup pass 2006-10-10 22:19:08 +00:00
Bruce Momjian
16795b9899 Update FAQ for latest release 8.1.5. 2006-10-10 00:28:32 +00:00
Tom Lane
24e9752863 Revise psql pattern-matching switches as per discussion. The rule is now
to process all inclusion switches then all exclusion switches, so that the
behavior is independent of switch ordering.
Use of -T does not cause non-table objects to be suppressed.  And
the patterns are now interpreted the same way psql's \d commands do it,
rather than as pure regex commands; this allows for example -t schema.tab
to do what it should have been doing all along.  Re-enable the --blobs
switch to do something useful, ie, add back blobs into a dump they were
otherwise suppressed from.
2006-10-09 23:36:59 +00:00
Tom Lane
77d2b1b625 Improve description of the pattern matching rules used by psql's \d
commands (and soon by pg_dump).
2006-10-09 23:31:29 +00:00
Bruce Momjian
d9dddd1100 Update release notes for releases 7.3.16, 7.4.14, 8.0.9, and 8.1.5. 2006-10-09 23:23:47 +00:00
Peter Eisentraut
842c00776b Updated keyword table for 8.2 2006-10-08 20:51:52 +00:00
Bruce Momjian
92fb5edbc1 Update multi-line editing wording in release notes. 2006-10-08 19:18:32 +00:00
Bruce Momjian
978ddf65ed In release notes, mention that multi-line history saving does not work
on Win32.
2006-10-08 18:15:52 +00:00
Bruce Momjian
aa198e5f14 Simplify <link> regex cleanup code. 2006-10-07 23:48:52 +00:00
Bruce Momjian
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.
2006-10-07 23:28:04 +00:00
Bruce Momjian
9ddbbe95fe In release notes, always use </link> rather than </>. 2006-10-07 22:06:25 +00:00
Peter Eisentraut
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.
2006-10-07 20:59:05 +00:00
Tom Lane
71a6f8b85b On platforms that have getrlimit(RLIMIT_STACK), use it to ensure that
max_stack_depth is not set to an unsafe value.

This commit also provides configure-time checking for <sys/resource.h>,
and cleans up some perhaps-unportable code associated with use of that
include file and getrlimit().
2006-10-07 19:25:29 +00:00
Bruce Momjian
cc1d55b74b Remove tabs added accidentally. 2006-10-07 03:32:28 +00:00
Neil Conway
9c53544950 Fix a typo. 2006-10-07 03:17:13 +00:00
Bruce Momjian
611b4c59c7 Add main documentation link tags to the release notes. 2006-10-07 02:18:34 +00:00
Bruce Momjian
f2332ea1e9 Add indenting to Solaris FAQ, for clarity. 2006-10-05 03:13:15 +00:00
Bruce Momjian
b680a1d9ad Update DB2X texinfo example code.
Andreas Seltenreich
2006-10-05 02:04:32 +00:00
Bruce Momjian
6fa875d7ce Update Solaris FAQ.
Zdenek Kotala
2006-10-04 22:03:22 +00:00
Bruce Momjian
9e23cd612e Improve readline psql prompt suggestion.
Andreas Seltenreich
2006-10-03 21:14:46 +00:00
Bruce Momjian
756d450313 Add experimental support for db2x texinfo
Andreas Seltenreich
2006-10-03 21:13:17 +00:00
Bruce Momjian
6e6125dc69 This patch fixes a small typo in information_schema.sgml.
Guillaume Lelarge
2006-10-03 01:03:53 +00:00
Bruce Momjian
e020a5a6a9 Add URL for strlcpy():
>
>   http://archives.postgresql.org/pgsql-hackers/2006-09/msg02108.php
2006-10-03 00:03:54 +00:00
Bruce Momjian
725ab82975 Add:
> 	* Fix SSL retry to avoid useless repeated connection attempts and
> 	  ensuing misleading error messages
2006-10-03 00:00:18 +00:00
Bruce Momjian
8ef72878b5 Update wording:
< * Use strlcpy() rather than StrNCpy() macro
> * Use strlcpy() rather than our StrNCpy() macro
2006-10-02 23:26:02 +00:00
Bruce Momjian
9b9e0e61a5 Add:
>
> * Use strlcpy() rather than StrNCpy() macro
2006-10-02 23:23:32 +00:00
Bruce Momjian
ae9b60322e Remove mention of the -fast option from the Solaris FAQ.
Kenneth Marshall
2006-10-02 23:01:17 +00:00
Bruce Momjian
5d52ad9dc8 Update recovery documentation.
Simon Riggs
2006-10-02 22:33:02 +00:00
Bruce Momjian
9ec71d5d1b Add URL for cached copy of paper as SGML comment. 2006-10-02 22:28:48 +00:00
Bruce Momjian
5257c7f829 Add release note item:
Drop privileges on startup so servers can be started from
        an administrative account (Magnus)
2006-10-02 15:32:03 +00:00
Bruce Momjian
7de0a919a2 Move "Exotic Features" to the bottom of TODO. 2006-10-02 14:00:04 +00:00
Tom Lane
7ceec34a73 Improve documentation of configure's readline/libedit switches. 2006-10-01 23:47:16 +00:00
Tom Lane
e69c09c1e9 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. 2006-10-01 18:54:31 +00:00
Bruce Momjian
6bb9fc9fee Add:
> * Allow more complex user/database default GUC settings
>   Currently, ALTER USER and ALTER DATABASE support per-user and
>   per-database defaults.  Consider adding per-user-and-database
>   defaults so things like search_path can be defaulted for a
>   specific user connecting to a specific database.
>
>
2006-09-30 03:55:32 +00:00
Bruce Momjian
7229b8cb8a Add MONEY URL:
>   http://archives.postgresql.org/pgsql-hackers/2006-09/msg01107.php
2006-09-30 02:59:06 +00:00
Tom Lane
352a56ba68 Allow assignment to array elements not contiguous with those already
present; intervening positions are filled with nulls.  This behavior
is required by SQL99 but was not implementable before 8.2 due to lack
of support for nulls in arrays.  I have only made it work for the
one-dimensional case, which is all that SQL99 requires.  It seems quite
complex to get it right in higher dimensions, and since we never allowed
extension at all in higher dimensions, I think that must count as a
future feature addition not a bug fix.
2006-09-29 21:22:21 +00:00
Tom Lane
673a573dcc Remove duplicate (and now incorrect) documentation for row-wise IS [NOT]
NULL.  Noted by Teodor.
2006-09-29 18:36:45 +00:00
Tom Lane
f213131f20 Fix IS NULL and IS NOT NULL tests on row-valued expressions to conform to
the SQL spec, viz IS NULL is true if all the row's fields are null, IS NOT
NULL is true if all the row's fields are not null.  The former coding got
this right for a limited number of cases with IS NULL (ie, those where it
could disassemble a ROW constructor at parse time), but was entirely wrong
for IS NOT NULL.  Per report from Teodor.

I desisted from changing the behavior for arrays, since on closer inspection
it's not clear that there's any support for that in the SQL spec.  This
probably needs more consideration.
2006-09-28 20:51:43 +00:00
Bruce Momjian
d3aa4a8e33 Add URL for client_encoding being set by client:
>   http://archives.postgresql.org/pgsql-hackers/2006-08/msg01696.php
2006-09-28 17:43:36 +00:00
Neil Conway
de6ca63d7f GiST stands for "Generalized Search Tree", and therefore should not be
spelled with a capital "I".
2006-09-27 06:37:28 +00:00
Bruce Momjian
1d5a13b154 Update wording of inheritance major release item. 2006-09-26 12:31:48 +00:00
Bruce Momjian
8580985c2b Split out inheritance major feature item in release notes. 2006-09-26 11:45:33 +00:00
Bruce Momjian
03a68a7cae Done:
< 	  o Add command to archive partially filled write-ahead logs? [pitr]
<
< 	    Currently only full WAL files are archived. This means that the
< 	    most recent transactions aren't available for recovery in case
< 	    of a disk failure.
<

Reorder:

< 	  o %Create dump tool for write-ahead logs for use in determining
< 	    transaction id for point-in-time recovery
> 	  o %Create dump tool for write-ahead logs for use in determining
> 	    transaction id for point-in-time recovery
2006-09-26 11:18:29 +00:00
Tom Lane
0f8fc35a5a Increase default value of effective_cache_size to 128MB, per discussion. 2006-09-25 22:12:24 +00:00
Neil Conway
6575920fa5 More incremental improvements for the release notes. 2006-09-25 15:35:28 +00:00
Tom Lane
1f4841a953 no-data-for-failed-tables is a pg_restore option, not a pg_dump option. 2006-09-25 15:31:50 +00:00
Bruce Momjian
0c858bd69e Fix name, "Laurenz Albe" at request of author. 2006-09-25 15:04:37 +00:00
Neil Conway
2804442da6 Minor incremental improvements to the release notes. 2006-09-24 18:47:56 +00:00
PostgreSQL Daemon
bbed6678f3 Tag us Beta1 2006-09-23 01:33:37 +00:00
Tom Lane
d40d34863e Fix pg_locks view to call advisory locks advisory locks, while preserving
backward compatibility for anyone using the old userlock code that's now
on pgfoundry --- locks from that code still show as 'userlock'.
2006-09-22 23:20:14 +00:00
Bruce Momjian
ae3f415f1d Add to major release notes items, per Simon. 2006-09-22 18:09:40 +00:00
Tom Lane
ceefbbf718 Move incorrectly-located indexterm entry. 2006-09-22 16:35:55 +00:00
Tom Lane
e893e87530 Update timezone documentation to reflect current reality: instead of
giving tables of known timezone names, refer the user to the system views.
Joachim Wieland
2006-09-22 16:20:00 +00:00
Bruce Momjian
9adb2c49dd Update release notes to only use HTML4 entities.
Add URL's to mention proper entity lists.
2006-09-22 15:41:12 +00:00
Tom Lane
29e53ca389 We're going to have to spell dotless i as plain i, because dotless i is
not in the character set supported by DocBook nor standard HTML.  (Sorry
Volkan.)  Also replace random character-set references by a pointer to
the actual standard.
2006-09-22 15:29:04 +00:00
Tom Lane
507447b585 Fix a lot of broken markup. 2006-09-22 15:22:04 +00:00
Bruce Momjian
285b5bdd6f Update release notes to be current as of CVS today. 2006-09-22 03:04:23 +00:00
Bruce Momjian
f7fa844b6c Update major release note items. 2006-09-22 01:52:27 +00:00
Bruce Momjian
bf31a62a6b First try at a major features list for 8.2. 2006-09-22 01:39:33 +00:00
Teodor Sigaev
b0d64a090b Add comments about STORAGE option for GIN 2006-09-21 15:09:38 +00:00
Teodor Sigaev
823ffd88e3 Fix table's caption 2006-09-21 15:03:53 +00:00
Michael Meskes
8ad3afee1a Updated several parts in particular variable handling. This is work that was part of SoC. 2006-09-21 09:10:27 +00:00
Bruce Momjian
323ff93afb Wording changes for continuous archving, per Simon. 2006-09-21 03:12:58 +00:00
Tom Lane
0efa510bf7 Add documentation for new in-core advisory lock functions. Merlin Moncure 2006-09-20 23:43:22 +00:00