Commit Graph

8095 Commits

Author SHA1 Message Date
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