Commit Graph

8304 Commits

Author SHA1 Message Date
Andrew Dunstan
780f50dae9 Fix example archive_command for standalone backups so it doesn't return spurious non-zero. 2007-12-15 15:41:02 +00:00
Bruce Momjian
d54ce518b3 Use clearer error message for gmake postgres.pdf:
Makefile:171: *** Invalid target;  use postgres-A4.pdf or postgres-US.pdf as targets.  Stop.
2007-12-15 10:28:21 +00:00
Tom Lane
164d255b49 Improve documentation about Julian dates; in particular, point out the
difference between Julian and Gregorian reckoning of when JD 0 was.
2007-12-15 01:18:34 +00:00
Peter Eisentraut
21e07f6c94 Make error message more accurate 2007-12-14 14:11:02 +00:00
Bruce Momjian
7b9526154a Add default error rules for making postgres.pdf and postgres.ps,
suggesting proper target names.
2007-12-14 13:20:30 +00:00
Alvaro Herrera
784365162c Correct result type of convert_to, per Pavel Stehule. 2007-12-13 13:22:05 +00:00
Tom Lane
e211470b19 Change a couple of examples to say ALTER MAPPING instead of ADD MAPPING,
per Oleg.
2007-12-13 06:32:47 +00:00
Bruce Momjian
8db9ba1873 Add random I/O URL:
>   http://archives.postgresql.org/pgsql-hackers/2007-12/msg00027.php
2007-12-12 07:06:27 +00:00
Bruce Momjian
c7e8d0f392 This item was fixed in a different way, so has been removed:
<
< * Allow free-behind capability for large sequential scans to avoid
<   kernel cache spoiling
<
<   Posix_fadvise() can control both sequential/random file caching and
<   free-behind behavior, but it is unclear how the setting affects other
<   backends that also have the file open, and the feature is not supported
<   on all operating systems.
2007-12-12 06:59:56 +00:00
Bruce Momjian
1565888578 Adjust release notes for HISTORY.html generation. 2007-12-12 06:58:33 +00:00
Tom Lane
73d6eb2446 Change 'merge sort join', a phrase we use nowhere else, to the more
usual 'merge join'.
2007-12-12 06:23:27 +00:00
Alvaro Herrera
230e8962f3 Make CSV column ordering a bit more logical. 2007-12-11 20:07:31 +00:00
Tom Lane
1ebff9ba81 Make documentation of -W options more accurate and uniform. 2007-12-11 19:57:32 +00:00
Tom Lane
1161f1ae14 Remove the long-deprecated -u option from psql, since it does nothing very
useful and confuses people who think it is the same as -U.  (Eventually
we might want to re-introduce it as being an alias for -U, but that should
not happen until the switch has actually not been there for a few releases.)
Likewise in pg_dump and pg_restore.  Per gripe from Robert Treat and
subsequent discussion.
2007-12-11 19:01:06 +00:00
Magnus Hagander
3a7211aaf7 Typo pointed out by Erwin Brandstetter. Remove the whole makes it even
better, per JD.
2007-12-11 18:30:20 +00:00
Alvaro Herrera
3bf66d6f1c Extend the format of CSV logs to include the additional information supplied
with the logged event.  CSV logs are now a first-class citizen along plain
text logs in that they carry much of the same information.

Per complaint from depesz on bug #3799.
2007-12-11 15:19:05 +00:00
Tom Lane
4192f2d85a Remove the -P options of oid2name and pgbench, as they are security
hazards.  Instead teach these programs to prompt for a password when
necessary, just like all our other programs.
I did not bother to invent -W switches for them, since the return on
investment seems so low.
2007-12-11 02:31:49 +00:00
Bruce Momjian
075e410205 Remove Stefan Kaltenbrunner mention from full text release note item. 2007-12-10 23:38:43 +00:00
Bruce Momjian
260419fada Add release note introduction. 2007-12-10 23:37:49 +00:00
Bruce Momjian
4188e1832d Mention Stefan Kaltenbrunner as contributor for text search because of
psql work.
2007-12-10 22:14:52 +00:00
Bruce Momjian
9377e6a7ba Wording improvement for write-cache disabling instructions. 2007-12-10 22:08:36 +00:00
Bruce Momjian
3e113efdf0 Write cache doc cleanups
Greg Smith
2007-12-10 14:51:10 +00:00
Bruce Momjian
51a33519b0 Document how to turn off disk write cache on popular operating systems. 2007-12-10 14:05:05 +00:00
Tom Lane
8828689ae9 Make an editorial pass over the newly SGML-ified contrib documentation.
Fix lots of bad markup, bad English, bad explanations.

Second round of commits.  pgcrypto and pgstandby still to go...
2007-12-10 05:32:51 +00:00
Alvaro Herrera
a3102ce1ef Change the "distributed checkpoint" release note item to Greg Smith's proposed
wording.
2007-12-10 01:48:54 +00:00
Bruce Momjian
c5156c646b Update Brazilian FAQ.
Euler Taveira de Oliveira
2007-12-10 00:34:06 +00:00
Bruce Momjian
a3f208539c FAQ wording and markup fix.
Euler Taveira de Oliveira
2007-12-10 00:32:25 +00:00
Tom Lane
4f9bf7fc5a Fix up the PQconnectionUsedPassword mess: create a separate
PQconnectionNeedsPassword function that tells the right thing for whether to
prompt for a password, and improve PQconnectionUsedPassword so that it checks
whether the password used by the connection was actually supplied as a
connection argument, instead of coming from environment or a password file.
Per bug report from Mark Cave-Ayland and subsequent discussion.
2007-12-09 19:01:40 +00:00
Bruce Momjian
8821612854 In the release notes, mention that the "Overview" items are listed in
the sections below in more detail.
2007-12-08 17:24:03 +00:00
Bruce Momjian
cb010629ba In release notes, mention "most" updates are improved with HOT. 2007-12-07 21:22:34 +00:00
Bruce Momjian
d32f24776f Remove completed 8.3 TODO items:
< 	o -Allow commenting of variables in postgresql.conf to restore them
< 	  to defaults
< 	o -Add a GUC variable to control the tablespace for temporary objects
< 	  and sort files
< Monitoring
< ==========
<
< * -Allow server log information to be output as CSV format
< * -Add ability to monitor the use of temporary sort files
< * -Allow user-defined types to accept 'typmod' parameters
<
<   http://archives.postgresql.org/pgsql-hackers/2005-08/msg01142.php
<   http://archives.postgresql.org/pgsql-hackers/2005-09/msg00012.php
<   http://archives.postgresql.org/pgsql-hackers/2006-08/msg00149.php
<
< * -Add Globally/Universally Unique Identifier (GUID/UUID)
<
<   http://archives.postgresql.org/pgsql-patches/2006-09/msg00209.php
<   http://archives.postgresql.org/pgsql-general/2007-01/msg00853.php
<
< * -Support a data type with specific enumerated values (ENUM)
< 	o -Add support for arrays of complex types
< 	o -Make 64-bit version of the MONEY data type
< * -Add ISO day of week format 'ID' to to_char() where Monday = 1
< * -Add a field 'isoyear' to extract(), based on the ISO week
< * -Add RESET SESSION command to reset all session state
< 	o -Make CLUSTER preserve recently-dead tuples per MVCC requirements
< 	o -Add more logical syntax CLUSTER table USING index;
< 	  support current syntax for backward compatibility
< 	o -Allow UPDATE/DELETE WHERE CURRENT OF cursor
< 		o -Add support for MOVE cursors
< 		o -Allow PL/PythonU to return boolean rather than 1/0
< 	o -Allow psql \pset boolean variables to set to fixed values, rather
< 	  than toggle
< 	o -Add -f to pg_dumpall
< Dependency Checking
< ===================
<
< * -Flush cached query plans when the dependent objects change or
<   when new ANALYZE statistics are available
< * -Track dependencies in function bodies and recompile/invalidate
< * -Invalidate prepared queries, like INSERT, when the table definition
<   is altered
<
< * -Allow use of indexes to search for NULLs
< * -Allow the creation of indexes with mixed ascending/descending
<   specifiers
< * -Reduce checkpoint performance degredation by forcing data to disk
<   more evenly
< * -Allow sequential scans to take advantage of other concurrent
<   sequential scans, also called "Synchronised Scanning"
< * -Consider shrinking expired tuples to just their headers
< * -Allow heap reuse of UPDATEd rows if no indexed columns are changed,
<   and old and new versions are on the same heap page
< * -Reduce XID consumption of read-only queries
< 	o -Turn on by default
< 	o -Allow multiple vacuums so large tables do not starve small
< 	  tables
< * -Allow the pg_xlog directory location to be specified during initdb
<   with a symlink back to the /data location
< * -Allow buffered WAL writes and fsync
< * -Allow ORDER BY ... LIMIT # to select high/low value without sort or
<   index using a sequential scan for highest/lowest values
< * -Merge xmin/xmax/cmin/cmax back into three header fields
< 	o -Support a smaller header for short variable-length fields
< * -Move NAMEDATALEN from postgres_ext.h to pg_config_manual.h
< * -Fix problem with excessive logging during SSL disconnection
<
<   http://archives.postgresql.org/pgsql-bugs/2006-12/msg00122.php
<   http://archives.postgresql.org/pgsql-bugs/2007-05/msg00065.php
<
< 	o -Add long file support for binary pg_dump output
2007-12-07 17:52:15 +00:00
Bruce Momjian
6b8d26bb07 Update HOT description to make index column changes clearer. 2007-12-07 17:42:49 +00:00
Bruce Momjian
52767ea76f Change documentation, change "distributed" checkpoints to "smoothed"
checkpoints.
2007-12-07 16:53:31 +00:00
Neil Conway
bbff4fd307 Fix typo in pg_standby docs. Arul Shaji. 2007-12-07 08:25:38 +00:00
Tom Lane
f039a8cf8e Add missing table entry for lastval(), per Jeff Davis. 2007-12-06 17:47:25 +00:00
Tom Lane
53e99f57fc Make an editorial pass over the newly SGML-ified contrib documentation.
Fix lots of bad markup, bad English, bad explanations.

This commit covers only about half the contrib modules, but I grow weary...
2007-12-06 04:12:10 +00:00
Peter Eisentraut
a37a0a4180 Remove unused, occasionally confusing graphics building support. 2007-12-05 10:06:08 +00:00
Tom Lane
4c128303e0 Entity-ify a passel of & < > characters. Per gripe from Devrim. 2007-12-03 23:49:51 +00:00
Magnus Hagander
6ca2f8483f Add missing documentation for SSPI packets. 2007-12-03 13:40:11 +00:00
Tom Lane
57da4cca27 Improve partitioning example, per Itagaki Takahiro. 2007-12-03 04:59:55 +00:00
Tom Lane
53ae7acbba Add SGML documentation for contrib/spi and contrib/test_parser.
The spi documentation is pretty rudimentary, but it's a start.
2007-12-03 04:18:47 +00:00
Tom Lane
0d4c3855f1 Update SGML contrib documentation to catch up with recent changes to
the former README files.  Albert Cervera i Areny
2007-12-03 03:05:47 +00:00
Tom Lane
01434d41d4 Stamp 8.3beta4. 2007-12-03 00:11:01 +00:00
Tom Lane
3b3251cb95 Ensure that all <sect1> and <refentry> tags have IDs. This is needed
to ensure that the resulting webpages have predictable URLs, instead of
ever-changing numeric IDs.  The new contrib docs were the biggest
offender, but some old stuff had the problem too.  Also, rename a couple
of new contrib sgml files for consistency's sake.
2007-12-02 22:33:20 +00:00
Tom Lane
ec2ff52045 Add SGML docs for contrib/dict_int and contrib/dict_xsyn.
Albert Cervera i Areny
2007-12-02 21:13:34 +00:00
Tom Lane
43da837eda Improve the manual's discussion of partitioning. Recommend using a
trigger instead of a rule to redirect insertions, use NEW.* notation
where appropriate, some other updates and adjustments.  David Fetter
and Tom Lane
2007-12-02 19:20:32 +00:00
Tom Lane
8ee076325f Mention hash opclasses in 'System Dependencies on Operator Classes',
which previously only talked about btree opclasses.
2007-12-02 04:36:40 +00:00
Tom Lane
7cac32534f Sync release notes with CVS HEAD; various editorial improvements. 2007-12-02 03:47:11 +00:00
Bruce Momjian
c2d30556a1 Update release notes to current CVS. 2007-11-30 03:27:48 +00:00
Bruce Momjian
c3facf0041 Update Japanese FAQ.
Jun Kuwamura
2007-11-29 17:09:21 +00:00
Bruce Momjian
6559c4a202 Add additional PITR documentation.
Simon Riggs
2007-11-28 22:35:54 +00:00
Bruce Momjian
664782ee74 RETURN NEXT doc improvement, per Alvaro. 2007-11-28 21:47:39 +00:00
Bruce Momjian
5cbf206c79 Update RETURN NEXT documentation for plpgsql. 2007-11-28 20:56:35 +00:00
Bruce Momjian
62312ce36d Plpgsql doc cleanup.
Guillaume Lelarge
2007-11-28 20:13:06 +00:00
Peter Eisentraut
9293425819 spell checker run 2007-11-28 15:42:31 +00:00
Peter Eisentraut
c1c772225d Add credit to Pavel Stehule for XML functionality 2007-11-28 11:03:50 +00:00
Peter Eisentraut
87ce0fa369 Fix column number 2007-11-28 10:10:14 +00:00
Bruce Momjian
492ae18f0d Add a few current_* variable index entries to the docs.
Guillaume Lelarge
2007-11-28 05:13:41 +00:00
Bruce Momjian
497365f48a Add comments about VACUUM to free space map docs.
Joshua D. Drake
2007-11-28 05:01:24 +00:00
Tom Lane
3f89964234 Add quote_literal(anyelement) to preserve (and, in fact, extend) a
useful consequence of the former liberal implicit casting to text;
namely that you can feed non-string values to quote_literal() and get
unsurprising results.  Per discussion.
2007-11-27 18:29:11 +00:00
Bruce Momjian
a0a9c5bcb9 Add example of MONEY casting to numeric if locale is known. 2007-11-27 16:46:36 +00:00
Bruce Momjian
8fb93b757d Wording improvement for MONEY casting. 2007-11-27 06:05:57 +00:00
Bruce Momjian
ee13b734fa Add documentation about the issues of casting MONEY to/from numeric
types.
2007-11-27 05:49:58 +00:00
Bruce Momjian
91e95588af Add:
< * -Make 64-bit version of the MONEY data type
< * Add locale-aware MONEY type, and support multiple currencies
<
<   http://archives.postgresql.org/pgsql-general/2005-08/msg01432.php
<   http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php
<
< * MONEY dumps in a locale-specific format making it difficult to
<   restore to a system with a different locale
>
> * MONEY data type
>
> 	o -Make 64-bit version of the MONEY data type
> 	* Add locale-aware MONEY type, and support multiple currencies
>
> 	  http://archives.postgresql.org/pgsql-general/2005-08/msg01432.php
> 	  http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php
>
> 	* MONEY dumps in a locale-specific format making it difficult to
> 	  restore to a system with a different locale
> 	* Allow MONEY to be cast to/from other numeric data types
2007-11-26 23:31:09 +00:00
Peter Eisentraut
c534ba182c Change index_name to name for consistency. 2007-11-26 21:36:33 +00:00
Tom Lane
07daff63c5 Fix select_common_type() so that it can select a domain type, if all inputs
to a UNION, CASE, or related construct are of the same domain type.  The
main part of this routine smashes domains to their base types, which seems
necessary because the logic involves TypeCategory() and IsPreferredType(),
neither of which work usefully on domains.  However, we can add a first
pass that just detects whether all the inputs are exactly the same type,
and if so accept that without question (so long as it's not UNKNOWN).
Per recent gripe from Dean Rasheed.

In passing, remove some tests for InvalidOid, which have clearly been dead
code for quite some time now, because getBaseType() would fail on that input.

Also, clarify the manual's not-very-precise description of the existing
algorithm's behavior.
2007-11-26 16:46:51 +00:00
Bruce Momjian
ba2b2a2c4e Update text:
< * Prevent long-lived temporary tables from causing frozen-Xid advancement
> * Prevent long-lived temporary tables from causing frozen-xid advancement
>
>    The problem is that autovacuum cannot vacuum them to set frozen xids;
>    only the session that created them can do that.
>
>
>
2007-11-23 16:37:55 +00:00
Tatsuo Ishii
d8e8a495da Fix "Overall Page Layout" table. The second row should be ItemIdData, not
ItemPointerData.
2007-11-23 00:24:12 +00:00
Bruce Momjian
73f9089045 Document that doc builds now build indexes by default, unless "draft" is
used.
2007-11-22 15:04:52 +00:00
Tom Lane
fec1d72dd1 Clarify the syntax rules for raw tsvector input. 2007-11-21 04:01:37 +00:00
Bruce Momjian
9eced0031c Split release notes up into smaller sections; easier to read. 2007-11-20 17:10:25 +00:00
Tom Lane
e66d0c6299 Fix some missed usages of 'HTML tag' and 'HTML entity'. 2007-11-20 15:58:52 +00:00
Bruce Momjian
aff5c589fa Make "contrib/" tag consistent. 2007-11-20 05:23:20 +00:00
Bruce Momjian
56696745a8 Split out data types and function entries into separate sections in the
release notes.
2007-11-20 05:16:31 +00:00
Bruce Momjian
726226b128 Release note adjustments suggested by IRC users. 2007-11-20 05:00:24 +00:00
Bruce Momjian
ee891817fb Reorder a few release notes items for consistency. 2007-11-20 04:00:27 +00:00
Bruce Momjian
0af4bb87d3 Trim down release section headings (no need for Changes).
Re-order some items as migration changes.
2007-11-20 03:34:14 +00:00
Andrew Dunstan
1157f3cc81 Change descriptions of entity and tag objects to "XML entity" and "XML tag".
Allow tag and entity names that follow XML rules. Provide for hexadecimal
as well as decimal numeric entities. Adjust code names to coincide with
new descriptions.
2007-11-20 02:25:22 +00:00
Bruce Momjian
a262394c8c Split "server changes" up into smaller sections in release notes. 2007-11-20 01:42:37 +00:00
Bruce Momjian
c37e357978 Markup fix. 2007-11-20 01:19:30 +00:00
Bruce Momjian
1037ab75b2 More release notes wording cleanups. 2007-11-20 01:13:00 +00:00
Bruce Momjian
5276950874 Update COMMENT item:
< 	o Prevent COMMENT ON dbname from issuing a warning when loading
< 	  into a database with a different name, perhaps using COMMENT ON
< 	  CURRENT DATABASE
> 	o Change pg_dump so that a comment on the dumped database is
> 	  applied to the loaded database, even if the database has a
> 	  different name.  This will require new backend syntax, perhaps
> 	  COMMENT ON CURRENT DATABASE.
2007-11-20 00:18:46 +00:00
Bruce Momjian
d29e9725a7 Update wording:
< 	o Allow COMMENT ON dbname to work when loading into a database
< 	  with a different name, perhaps using COMMENT ON CURRENT
<           DATABASE
> 	o Prevent COMMENT ON dbname from issuing a warning when loading
> 	  into a database with a different name, perhaps using COMMENT ON
> 	  CURRENT DATABASE
2007-11-19 23:48:46 +00:00
Bruce Momjian
f59f8aedd8 Add suggested syntax for COMMENT ON DATABASE:
< 	  with a different name
> 	  with a different name, perhaps using COMMENT ON CURRENT
>           DATABASE
>
2007-11-19 19:27:03 +00:00
Bruce Momjian
5e996e4a76 Add:
> 	o Allow COMMENT ON dbname to work when loading into a database
> 	  with a different name
2007-11-19 18:42:11 +00:00
Tom Lane
d4205295aa Improve description of implicit-text-casting compatibility issue.
A bunch of other desultory copy-editing, too.
2007-11-19 03:47:14 +00:00
Tom Lane
3ebb8867aa Minor improvement in documentation of temp_tablespaces: avoid grammatical
ambiguity and say what the default value is.
2007-11-19 02:26:10 +00:00
Tom Lane
7129f26be0 Remove no-longer-accurate claim that REINDEX won't invalidate cached
plans.
2007-11-18 18:42:03 +00:00
Bruce Momjian
b13602c6d0 Wordsmith improvements to first half of release notes, move TEXT cast
item to #1 imcompatibility slot.
2007-11-17 21:13:42 +00:00
Bruce Momjian
fbab505216 Simplify TEXT cast working; spelling fixes to release notes. 2007-11-17 15:17:16 +00:00
Bruce Momjian
bb4a78c070 Fix a few mentions of "Postgres" that slipped into the release notes. 2007-11-16 17:22:21 +00:00
Bruce Momjian
2230944e30 Add release note that "Postgres" is now documented as an acceptable
alias.
2007-11-16 16:12:14 +00:00
Bruce Momjian
6fcfd14697 Simplify wording. 2007-11-16 15:53:57 +00:00
Bruce Momjian
5633da000f Add FAQ items about "Postgres" alias usage, remove old reference. 2007-11-16 15:50:31 +00:00
Tom Lane
2f1e7ffb76 Fix markup that doesn't work in HISTORY generation. 2007-11-16 06:28:07 +00:00
Marc G. Fournier
2a174e45dd update files for beta3 2007-11-16 04:29:45 +00:00
Tom Lane
fb8b38e4bf Add a couple of notes pointing out that GIN index build time is very
sensitive to maintenance_work_mem (something I just learned the hard
way).
2007-11-16 03:23:07 +00:00
Bruce Momjian
ee214defa0 Add more detail for non-TEXT cast release item. 2007-11-15 20:10:32 +00:00
Bruce Momjian
f15c08f055 Document that /contrib/tsearch2 now contains a compatibility interface. 2007-11-15 17:09:40 +00:00
Tom Lane
a1715ac8f7 Adjust example to reduce confusion between a tsvector column and
an index, per Simon.
2007-11-14 23:48:55 +00:00
Tom Lane
866bad9543 Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness
of this seems a bit marginal, if it's useful enough to be shown in the manual
then we probably ought to support doing it without double evaluation of the
ts_rank function.  Per my proposal earlier today.
2007-11-14 23:43:27 +00:00
Tom Lane
ca450a07ee Add an Accept parameter to "simple" dictionaries. The default of true
gives the old behavior; selecting false allows the dictionary to be used
as a filter ahead of other dictionaries, because it will pass on rather
than accept words that aren't in its stopword list.
Jan Urbanski
2007-11-14 18:36:37 +00:00
Bruce Momjian
a44c81d1b7 Mention that GSSAPI is preferred over Kerberos authentication because
GSSAPI is industry-standard.
2007-11-14 14:38:30 +00:00
Magnus Hagander
9394059261 Add note about deprecating krb5 authentication in favour of GSSAPI,
per discussions (a long time ago). Documentation only, we keep full
support in the code.
2007-11-14 14:25:55 +00:00
Bruce Momjian
144c519842 Capitalize "Migration to Version". 2007-11-14 14:06:54 +00:00
Bruce Momjian
1a339a3939 Properly capitalize "Migrate To Version"; seems we always had that
wrong.
2007-11-14 12:36:34 +00:00
Bruce Momjian
ec67a91106 Markup cleanup. 2007-11-14 03:39:53 +00:00
Bruce Momjian
4ba85c1e24 Reference pgfoundry instead of gborg. 2007-11-14 03:39:17 +00:00
Bruce Momjian
2d7090bc56 Remove reference to gborg, instead reference pgfoundry. 2007-11-14 03:37:30 +00:00
Tom Lane
de085820bf Update discussion of tsearch2 migration. I'm not entirely sure about
the division of material between here and the tsearch2 contrib page,
but at least it's not obviously unfinished any more.
2007-11-14 03:26:24 +00:00
Tom Lane
42e3ab3f11 Move contrib docs to an appendix (next door to External Projects).
Change title to Additional Supplied Modules.  Improve discussion of
how to build and install 'em.
2007-11-14 02:36:43 +00:00
Tom Lane
21fec14941 Clean up some now-obsolete references to GBorg. 2007-11-14 01:58:18 +00:00
Tom Lane
4c2d0cd5e4 Add some quick documentation for tsearch2 compatibility module. 2007-11-14 01:09:50 +00:00
Bruce Momjian
c027fa5757 Update release notes to current CVS. 2007-11-14 00:16:27 +00:00
Tom Lane
b40c0a4bb0 Clean up some stray references to tsearch2. 2007-11-13 23:36:26 +00:00
Bruce Momjian
6832927ce3 Add link to Postgres-R glossary from our documentation (has helpful
terms defined).
2007-11-13 18:44:20 +00:00
Bruce Momjian
2ce1a60bfa No master server overhead for middleware replication. 2007-11-12 18:01:44 +00:00
Bruce Momjian
f4294090ae Change replication chart title to "No waiting for multiple servers". 2007-11-12 17:02:14 +00:00
Bruce Momjian
e1829591cb Trim trailing whitespace --- needed commit to update anoncvs. 2007-11-12 01:37:34 +00:00
Bruce Momjian
6b8cc88268 Remove tabs from SGML files. 2007-11-11 14:23:18 +00:00
Bruce Momjian
926bbab448 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.
2007-11-11 03:25:35 +00:00
Bruce Momjian
c3c69ab4fd Move most /contrib README files into SGML. Some still need conversion
or will never be converted.
2007-11-10 23:30:46 +00:00
Bruce Momjian
6e414a171e Add pg_ctl -t/timeout parameter to control amount of time to wait for
start/shutdown.
2007-11-10 21:48:51 +00:00
Tom Lane
c6722d7211 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.
2007-11-10 20:14:36 +00:00
Bruce Momjian
20a8825778 High availability wording fix. 2007-11-10 19:19:36 +00:00
Bruce Momjian
455fa463ad Update high availability documentation with comments from Markus Schiltknecht. 2007-11-10 19:14:02 +00:00
Bruce Momjian
d009992ba3 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.
2007-11-10 15:39:34 +00:00
Bruce Momjian
a341b876d8 Fix markup problem with recent pg_ctl change. 2007-11-10 14:07:18 +00:00
Bruce Momjian
f19c8577eb Properly order pg_ctl -c option alphabetically in docs. 2007-11-10 04:52:17 +00:00
Bruce Momjian
4521207390 Remove tabs from SGML files. 2007-11-09 23:52:08 +00:00
Alvaro Herrera
83290b678d Point to our own UUID page instead of to Wikipedia. 2007-11-09 22:22:46 +00:00
Magnus Hagander
4b606ee444 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.
2007-11-09 17:31:07 +00:00
Bruce Momjian
a7cd5a4aa0 Move pl/proxy into Multi-server parallel query execution documentation
section.
2007-11-09 16:36:04 +00:00
Bruce Momjian
f55e6c07c3 Wording improvement for pl/proxy mention. 2007-11-08 22:14:18 +00:00
Bruce Momjian
4a2077efe4 Add mention of pl/proxy toolset to docs. 2007-11-08 22:08:18 +00:00
Bruce Momjian
f1528b5154 Properly indent SGML file. 2007-11-08 19:18:23 +00:00
Bruce Momjian
621e14dcb2 Add "High Availability, Load Balancing, and Replication Feature Matrix"
table to docs.
2007-11-08 19:16:30 +00:00
Bruce Momjian
5db1c58a1a Move NFS section into "Creating Cluster" documentation section because
it seems more logical there.
2007-11-08 15:21:03 +00:00
Peter Eisentraut
b7210a07a9 Mention text search instead of tsearch2 2007-11-08 13:13:51 +00:00
Peter Eisentraut
d624f94a88 Small fixes 2007-11-08 13:13:28 +00:00
Peter Eisentraut
371d7bc7c0 <optional> cannot be used here, because psql doesn't handle it. 2007-11-07 14:07:53 +00:00
Peter Eisentraut
0e3c27538a Specify putting two spaces after sentence-ending period, which is current
practice also.
2007-11-07 13:12:21 +00:00
Peter Eisentraut
5f9869d0ee Use "alternative" instead of "alternate" where it is clearer. 2007-11-07 12:24:24 +00:00
Bruce Momjian
c1a03bee08 Document that configure option only affects contrib:
--with-ossp-uuid        use OSSP UUID library when building /contrib/uuid-ossp
2007-11-05 17:43:20 +00:00
Tom Lane
faac769a6b Minor editorial improvements to txid functions' documentation: put back
some text that got dropped, improve markup, improve descriptions of
snapshot components.
2007-11-05 17:40:21 +00:00
Bruce Momjian
c00055ea80 Document that syncronhous commit can be turned off in a single
multi-statement transaction.
2007-11-05 17:35:38 +00:00
Bruce Momjian
11d740ed9e Remove <sect1> of txid functions. 2007-11-05 16:57:23 +00:00
Bruce Momjian
bd2ef63aa8 Move txid snapshot field description table from datatype to functions section. 2007-11-05 16:45:52 +00:00
Magnus Hagander
f5f375330e Fix typos.
Guillaume Lelarge
2007-11-05 15:55:53 +00:00
Bruce Momjian
ec1aafca7d Document txid functions.
Marko Kreen
2007-11-05 14:51:08 +00:00
D'Arcy J.M. Cain
f00e542746 Remove deprecation notice and add comment about safely restoring backups.
As per discussion on hackers.
2007-11-05 12:02:20 +00:00
Bruce Momjian
1e941153a2 Working improvement. 2007-11-04 21:50:28 +00:00
Bruce Momjian
c066d27f36 Add link to NFS section from "creating a database cluster. 2007-11-04 21:48:03 +00:00
Bruce Momjian
3372380cc4 Document possible problems with NFS tablespaces. 2007-11-04 21:40:02 +00:00
Bruce Momjian
729d2b08c0 Properly indent tablespace SGML section. 2007-11-04 19:43:33 +00:00
Bruce Momjian
38fe3a9646 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.
2007-11-04 19:23:24 +00:00
Bruce Momjian
f96e1e0faa Update wording for xsl configure option. 2007-11-04 18:53:39 +00:00
Bruce Momjian
ede83e04aa Document that configure --with-libxslt controls just /contrib/xml2.
Nikolay Samokhvalov
2007-11-04 18:10:42 +00:00
Bruce Momjian
65bd783614 Mention that internal hash functions changed in 8.3 release notes. 2007-11-01 22:38:36 +00:00
Tom Lane
9423be4449 Some corrections/improvements to new acronym list. 2007-11-01 20:27:33 +00:00
Tom Lane
388c7e28c5 Update discussion of shared memory sizing for 8.3: adjust multipliers,
mention autovacuum_max_workers.  Minor copy-editing too.
2007-11-01 19:06:01 +00:00
Bruce Momjian
5c996884a0 Update Czech FAQ.
Pavel Stehule
2007-11-01 17:28:03 +00:00
Bruce Momjian
6287c31b5a Acronym spelling fix. 2007-11-01 17:16:36 +00:00
Bruce Momjian
53e3f9dcfd Add documentation mention that FSM == Free Space Map, so the config
parameter name makes more sense.
2007-11-01 17:06:30 +00:00
Bruce Momjian
61c8163957 Add acronym section to our documentation. 2007-11-01 17:00:46 +00:00
Bruce Momjian
f0cd76fcc4 Add:
> * Prevent long-lived temporary tables from causing frozen-Xid advancement
>    starvation
2007-10-31 20:12:44 +00:00
Peter Eisentraut
e07904b0a4 Add note on PostgreSQL vs. Postgres. 2007-10-30 23:06:06 +00:00
Tom Lane
406ee67c9a Update some obsolete stuff in the GRANT and REVOKE reference pages:
simplify the syntax examples by unifying user and group cases, and fix
no-longer-correct example of psql \z output.  Per Erwin Brandstetter.
2007-10-30 19:43:30 +00:00
Tom Lane
897313e824 Add a note pointing out that some other databases make GREATEST and
LEAST handle NULL arguments differently than we do.  Per a discussion
on 30-Jun that somehow didn't get done.
2007-10-30 19:06:56 +00:00
Bruce Momjian
f7967d4c69 Documentation wording fixes.
Guillaume Lelarge
2007-10-29 17:29:59 +00:00
Bruce Momjian
e1f55afe7d Update Russian FAQ.
corochoone@gmail.com
2007-10-29 17:27:10 +00:00
Bruce Momjian
96805a18c6 Clarify restart is of the "database" server, in FAQ. 2007-10-29 17:22:20 +00:00
Tom Lane
f9e83a5588 Remove claim that ts_headline knows how to generate multiple ellipsis-separated
excerpts of a document.  That's clearly desirable, but the functionality
is not there yet.
2007-10-29 01:55:11 +00:00
Tom Lane
3fe266207b Ooops, fat-fingered last commit message. Should have
mentioned updating FAQ_IRIX for information about buggy MIPSPro
compiler version, now confirmed by Herve Boulouis.
2007-10-28 22:33:25 +00:00
Tom Lane
d034a268a2 FAQ_IRIX 2007-10-28 22:30:21 +00:00
Tom Lane
d015d08b43 Rename default text search parser's "uri" token type to "url_path",
per recommendation from Alvaro.  This doesn't force initdb since the
numeric token type in the catalogs doesn't change; but note that
the expected regression test output changed.
2007-10-27 16:01:09 +00:00
Tom Lane
5b5a70aedf Stamp 8.3beta2. 2007-10-27 00:22:42 +00:00
Tom Lane
2aac6f10f6 Minor wording improvements per suggestion from Jeff Davis. Also tweak
hyphenated-word parser examples per earlier discussion with Alvaro.
2007-10-27 00:19:45 +00:00
Bruce Momjian
ffda32e9fd Remove second-in-paragraph usage of "Postgres" in FAQ_DEV. 2007-10-26 19:08:57 +00:00
Bruce Momjian
f201257991 Remove use of "Postgres" aliases in the FAQ in second-in-paragraph
cases.
2007-10-26 19:04:37 +00:00
Bruce Momjian
350196df4a Set Japanese FAQ character code to UTF-8.
Jun Kuwamura
2007-10-26 03:59:22 +00:00
Bruce Momjian
fa9eb3152e Add plpgsql doc example of RETURN NEXT.
Ulrich Kroener
2007-10-26 01:11:09 +00:00
Tom Lane
9ddfe034c7 Fix ALTER SEQUENCE so that it does not affect the value of currval() for
the sequence.  Also, make setval() with is_called = false not affect the
currval state, either.  Per report from Kris Jurka that an implicit
ALTER SEQUENCE OWNED BY unexpectedly caused currval() to become valid.
Since this isn't 100% backwards compatible, it will go into HEAD only;
I'll put a more limited patch into 8.2.
2007-10-25 18:54:03 +00:00
Alvaro Herrera
0e3ddc8dd5 Use more real-world examples in the text search parser documentation. 2007-10-25 13:06:35 +00:00
Bruce Momjian
41f207620a Update release notes to current CVS. 2007-10-25 02:50:26 +00:00
Tom Lane
048efc25e4 Disallow scrolling of FOR UPDATE/FOR SHARE cursors, so as to avoid problems
in corner cases such as re-fetching a just-deleted row.  We may be able to
relax this someday, but let's find out how many people really care before
we invest a lot of work in it.  Per report from Heikki and subsequent
discussion.

While in the neighborhood, make the combination of INSENSITIVE and FOR UPDATE
throw an error, since they are semantically incompatible.  (Up to now we've
accepted but just ignored the INSENSITIVE option of DECLARE CURSOR.)
2007-10-24 23:27:08 +00:00
Tom Lane
8a35b07e18 Remove obsolete statement that you can't update through a cursor. 2007-10-24 22:55:52 +00:00
Tom Lane
592c88a0d2 Remove the aggregate form of ts_rewrite(), since it doesn't work as desired
if there are zero rows to aggregate over, and the API seems both conceptually
and notationally ugly anyway.  We should look for something that improves
on the tsquery-and-text-SELECT version (which is also pretty ugly but at
least it works...), but it seems that will take query infrastructure that
doesn't exist today.  (Hm, I wonder if there's anything in or near SQL2003
window functions that would help?)  Per discussion.
2007-10-24 02:24:49 +00:00
Tom Lane
dbaec70c15 Rename and slightly redefine the default text search parser's "word"
categories, as per discussion.  asciiword (formerly lword) is still
ASCII-letters-only, and numword (formerly word) is still the most general
mixed-alpha-and-digits case.  But word (formerly nlword) is now
any-group-of-letters-with-at-least-one-non-ASCII, rather than all-non-ASCII as
before.  This is no worse than before for parsing mixed Russian/English text,
which seems to have been the design center for the original coding; and it
should simplify matters for parsing most European languages.  In particular
it will not be necessary for any language to accept strings containing digits
as being regular "words".  The hyphenated-word categories are adjusted
similarly.
2007-10-23 20:46:12 +00:00
Tom Lane
f551348417 Clarify example of planner cost computation, per a suggestion from
James Shaw.  Also update a couple of examples to reflect 8.3's improved
plan-printing code.
2007-10-22 21:34:33 +00:00
Tom Lane
3e17ef1cfa Adjust ts_debug's output as per my proposal of yesterday: show the
active dictionary and its output lexemes as separate columns, instead
of smashing them into one text column, and lowercase the column names.
Also, define the output rowtype using OUT parameters instead of a
composite type, to be consistent with the other built-in functions.
2007-10-22 20:13:37 +00:00
Tom Lane
6088bfb8b6 Create a quick-and-dirty list of known migration issues for pre-8.3
users of tsearch.  This isn't meant to be permanent documentation,
but to call out the areas that need either fixing or real documentation.
2007-10-22 03:37:04 +00:00
Tom Lane
dfc6f130b4 Editorial overhaul for text search documentation. Organize the info
more clearly, improve a lot of unclear descriptions, add some missing
material.  We still need a migration guide though.
2007-10-21 20:04:37 +00:00
Bruce Momjian
6cb00e67ef Update Japanese FAQ.
Jun Kuwamura
2007-10-20 23:59:15 +00:00
Bruce Momjian
b002af5698 More release note word-smithing. 2007-10-20 23:41:23 +00:00
Bruce Momjian
24f3a77112 Fix release tag spelling typo. 2007-10-20 20:19:06 +00:00
Bruce Momjian
1ba96ef04f More release note wording improvements. 2007-10-20 16:41:09 +00:00
Bruce Momjian
7b98f6be6e Update German FAQ.
Ian Barwick
2007-10-20 15:49:09 +00:00
Tom Lane
41a312a1f6 Add a note pointing out that you can't log to syslog without tweaking
the syslog configuration file (at least not on most known Unixen).
I dunno why we hadn't had that info in the docs all along ...
2007-10-20 04:00:38 +00:00
Bruce Momjian
6fe5885cdf More indenting cleanup for release notes. 2007-10-19 01:56:06 +00:00