Commit Graph

6101 Commits

Author SHA1 Message Date
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 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 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
Bruce Momjian 35dab98e1b Consistently indent release notes for prior releases. 2007-10-18 23:34:54 +00:00
Bruce Momjian decff24fe2 More release wording adjustments. 2007-10-18 23:05:06 +00:00
Bruce Momjian 52c51a45e6 More indenting cleanup, tag additions. 2007-10-18 16:47:58 +00:00
Bruce Momjian f031610297 Move a few items into migration from the main changes section. Indent
8.3 consistently.
2007-10-18 16:45:05 +00:00
Neil Conway 35342395c0 Minor fixes for the release notes. 2007-10-18 06:07:23 +00:00
Bruce Momjian 403b6fd9a9 Small changes to release note descriptions. 2007-10-18 05:39:06 +00:00
Bruce Momjian 62c99fc289 First pass over release documentation. I trimmed down some of the
entries and removed a few.
2007-10-18 05:15:48 +00:00
Bruce Momjian 6bec963aa5 Re-add FAQ item:
<H3 id="item4.19">4.19) Why do I get "relation with OID #####
    does not exist" errors when accessing temporary tables in PL/PgSQL
    functions?</H3>
2007-10-17 17:34:51 +00:00
Tom Lane 6efae5bf2a Another round of editorialization on the text search documentation.
Notably, standardize on using "token" for the strings output by a parser,
while "lexeme" is reserved for the normalized strings produced by a
dictionary.
2007-10-17 01:01:28 +00:00
Bruce Momjian cb0d539d05 Mention Slony as just an example. 2007-10-16 19:44:18 +00:00
Magnus Hagander d8c5edae3b Fix the URL properly per Robert Treat. 2007-10-16 19:04:34 +00:00
Bruce Momjian 4fef90dfed Add doc clarifications for warm standby. 2007-10-16 14:56:51 +00:00
Magnus Hagander aad991b41b Update URLs to a couple of external projects 2007-10-16 12:14:33 +00:00
Bruce Momjian 59dc5d0e11 Slony switch is only seconds of downtime. 2007-10-16 05:37:40 +00:00
Bruce Momjian e61d252152 Add mention of Slony for in-place upgrades. 2007-10-16 02:48:57 +00:00
Tom Lane 4b21d1f09b Remove obsolete examples of add-on parsers and dictionary templates;
these are more easily and usefully maintained as contrib modules.
Various other wordsmithing, markup improvement, etc.
2007-10-15 21:39:57 +00:00
Tom Lane 18e3fcc31e Migrate the former contrib/txid module into core. This will make it easier
for Slony and Skytools to depend on it.  Per discussion.
2007-10-13 23:06:28 +00:00
Bruce Momjian bf673f2525 Attached some minor corrections, mainly completion of removal of
the  "relation with OID ##### does not exist" item, and some URL
corrections.

Ian Barwick
2007-10-13 03:37:12 +00:00
Bruce Momjian 05c609b3d4 Add missing word. 2007-10-11 20:35:56 +00:00
Bruce Momjian 70680211de Add missing word. 2007-10-11 20:04:59 +00:00
Bruce Momjian 1246fcd02a Update release notes in "major" and "migration" sections. Still have
remainder of release notes to review.
2007-10-11 19:46:21 +00:00
Bruce Momjian 68b08b2512 Whitespace cleanup. 2007-10-11 02:43:55 +00:00
Neil Conway f83a9303a6 Minor correction for full-text search limitations docs.
Heikki Linnakangas.
2007-10-10 21:48:22 +00:00
Neil Conway 8230895313 Fix typo in REVOKE reference page. Guillaume Lelarge. 2007-10-10 21:38:51 +00:00
Bruce Momjian 29eece51a8 Back out release changes that weren't ready for commit. 2007-10-10 14:09:49 +00:00
Bruce Momjian 688b3aac49 Update Japanese FAQ.
Jun Kuwamura
2007-10-10 13:43:42 +00:00
Bruce Momjian e1caa90406 Add mention of full text indexing for word searches. 2007-10-09 20:13:11 +00:00
Bruce Momjian db962bb14d Remove FAQ item about temp tables in plpsql having invalid oid problems,
per suggestions from Pavel Stehule.
2007-10-09 20:08:04 +00:00
Bruce Momjian cd2cf74584 Update sequence FAQ items, per suggestion from Pavel Stehule. 2007-10-09 19:55:36 +00:00
Neil Conway 81f285da7c Replace a reference to "start_log_collector" with "logging_collector",
per Guillaume Lelarge.
2007-10-09 18:14:01 +00:00
Bruce Momjian 535b07873d Update Brazilian FAQ.
Euler Taveira de Oliveira
2007-10-09 03:21:00 +00:00
Bruce Momjian 30b6622ecc Typo fix.
Euler Taveira de Oliveira
2007-10-09 03:20:09 +00:00
Bruce Momjian f7c6cb0be8 Add:
> * MONEY dumps in a locale-specific format making it difficult to
>   restore to a system with a different locale
2007-10-09 02:31:40 +00:00
Bruce Momjian d63790d726 Clarify user of "postmaster" vs. "server" in FAQs.
Brendan Jurd
2007-10-09 01:28:24 +00:00
Bruce Momjian 7121cc9021 Add:
> 	o Have ALTER SEQUENCE RENAME rename the sequence name stored
> 	  in the sequence table
>
> 	  http://archives.postgresql.org/pgsql-bugs/2007-09/msg00092.php
> 	  http://archives.postgresql.org/pgsql-bugs/2007-10/msg00007.php
>
2007-10-08 18:01:17 +00:00
Alvaro Herrera 2a997a7065 A few improvements to analyze and vacuum sections in documentation: add "see
also" entries for autovacuum in analyze and vacuum reference pages, and
enhance usage of cross-references in the maintenance page.
2007-10-07 01:16:42 +00:00
Alvaro Herrera a3ff937359 Change &pi; to plain "pi" in index entry, to avoid double escaping issues. 2007-10-07 01:13:30 +00:00
Alvaro Herrera 2816b2cdd2 Clean up the doc makefile for draft HTML generation. It no longer works
to do "make DRAFT=Y html"; you need to use "make draft" (which was also
supported previously).
2007-10-07 00:32:11 +00:00
Alvaro Herrera 4718358fe7 Remove stylesheet.css file on "make clean", created only on VPATH builds. 2007-10-07 00:23:21 +00:00
Alvaro Herrera f5e2911144 Fix missing parenthesis, per Guillaume Lelarge. 2007-10-06 17:45:49 +00:00
Alvaro Herrera c880ed0afb Fix SGML markup, from Guillaume Lelarge. 2007-10-06 15:50:43 +00:00
Tom Lane 3a38ea2616 Remove some cross-references that don't seem to work in HISTORY
generation ... we should figure this out later ...
2007-10-05 04:03:41 +00:00
Tom Lane 3c2d497f8d Some desultory markup improvements in the new release notes. 2007-10-04 22:55:49 +00:00
Neil Conway 0b3f5ac43d Two fixes for the release notes from Guillaume Smet. In passing, make
a minor markup improvement.
2007-10-04 07:53:07 +00:00
Neil Conway 77b0f459c8 First pass at SGML-ifying the 8.3 release notes. Plenty of improvements
left to made, but this is a start.
2007-10-04 03:53:58 +00:00
Tom Lane 0a04109d60 Second pass at 8.3 release notes: put items in a bit more logical order
where possible, add overview and incompatibilities lists, minor cleanups.
The SGML-ification still leaves much to be desired.
2007-10-03 23:02:16 +00:00
Neil Conway a522db7d62 Various minor improvements to the 8.3 release notes. 2007-10-03 22:06:13 +00:00
Tom Lane bda5750a33 Some editorial improvements for recently-added ALTER SEQUENCE/VIEW
documentation.  Heikki and Tom
2007-10-03 16:48:43 +00:00
Tom Lane 6d673a63ed First cut at 8.3 release notes. SGML markup is nonexistent, and
the 'overview' and 'incompatibilities' summary lists remain to be
written.  But I think all the raw info is there (indeed maybe too
verbose).
2007-10-03 03:32:31 +00:00
Tom Lane eb9f280ca7 Add catalogs.sgml documentation for text search catalogs. 2007-10-01 21:10:40 +00:00
Tom Lane 5a95c560f0 Add note warning against use of pre-8.4 multithreaded Tcl. 2007-10-01 16:43:28 +00:00
Tom Lane 27b8922221 Add an extra header byte to TOAST-pointer datums to represent their size
explicitly.  This means a TOAST pointer takes 18 bytes instead of 17 --- still
smaller than in 8.2 --- which seems a good tradeoff to ensure we won't have
painted ourselves into a corner if we want to support multiple types of TOAST
pointer later on.  Per discussion with Greg Stark.
2007-09-30 19:54:58 +00:00
Tom Lane b46bd55a6c Make archive recovery always start a new timeline, rather than only when a
recovery stop time was used.  This avoids a corner-case risk of trying to
overwrite an existing archived copy of the last WAL segment, and seems
simpler and cleaner all around than the original definition.  Per example
from Jon Colverson and subsequent analysis by Simon.
2007-09-29 01:36:10 +00:00
Tom Lane 70b9b9b788 Change initdb and CREATE DATABASE to actively reject attempts to create
databases with encodings that are incompatible with the server's LC_CTYPE
locale, when we can determine that (which we can on most modern platforms,
I believe).  C/POSIX locale is compatible with all encodings, of course,
so there is still some usefulness to CREATE DATABASE's ENCODING option,
but this will insulate us against all sorts of recurring complaints
caused by mismatched settings.

I moved initdb's existing LC_CTYPE-to-encoding mapping knowledge into
a new src/port/ file so it could be shared by CREATE DATABASE.
2007-09-28 22:25:49 +00:00
Bruce Momjian ae0b90f223 Remove:
< * SQL*Net listener that makes PostgreSQL appear as an Oracle database
<   to clients
2007-09-28 21:32:29 +00:00
Tom Lane 77c166ba6c Add virtual transaction IDs to CSVLOG output, so that messages coming from
the same transaction can be identified even when no regular XID was assigned.
This seems essential after addition of the lazy-XID patch.  Also some
minor code cleanup in write_csvlog().
2007-09-27 18:15:36 +00:00
Bruce Momjian 03a91e0d10 Lowercase all mentions of "PostgreSQL" in URLs, per Magnus. 2007-09-27 06:14:47 +00:00
Tom Lane f18dfc4835 Minor improvements in backup and recovery:
- create a separate archive_mode GUC, on which archive_command is dependent

- %r option in recovery.conf sends last restartpoint to recovery command

- %r used in pg_standby, updated README

- minor other code cleanup in pg_standby

- doc on Warm Standby now mentions pg_standby and %r

- log_restartpoints recovery option emits LOG message at each restartpoint

- end of recovery now displays last transaction end time, as requested
  by Warren Little; also shown at each restartpoint

- restart archiver if needed to carry away WAL files at shutdown

Simon Riggs
2007-09-26 22:36:30 +00:00
Bruce Momjian 80963144ad Rename "PostgreSQL" to "Postgres" in 3 places. 2007-09-26 20:38:28 +00:00
Bruce Momjian 9692324734 Rename "PostgreSQL" to "Postgres" in 7 places in the FAQ. 2007-09-26 20:36:50 +00:00
Bruce Momjian 10e1b9df5c Add:
> * Implement Boyer-Moore searching in strpos()
>
>   http://archives.postgresql.org/pgsql-patches/2007-08/msg00012.php
2007-09-26 08:47:43 +00:00
Bruce Momjian 1b57b8bfdc Document that libpq's PQntuples() might overflow. 2007-09-26 08:45:50 +00:00
Tom Lane 6f5c38dcd0 Just-in-time background writing strategy. This code avoids re-scanning
buffers that cannot possibly need to be cleaned, and estimates how many
buffers it should try to clean based on moving averages of recent allocation
requests and density of reusable buffers.  The patch also adds a couple
more columns to pg_stat_bgwriter to help measure the effectiveness of the
bgwriter.

Greg Smith, building on his own work and ideas from several other people,
in particular a much older patch from Itagaki Takahiro.
2007-09-25 20:03:38 +00:00
Tom Lane 48f7e64395 Simplify and rename some GUC variables, per various recent discussions:
* stats_start_collector goes away; we always start the collector process,
unless prevented by a problem with setting up the stats UDP socket.

* stats_reset_on_server_start goes away; it seems useless in view of the
availability of pg_stat_reset().

* stats_block_level and stats_row_level are merged into a single variable
"track_counts", which controls all reports sent to the collector process.

* stats_command_string is renamed to track_activities.

* log_autovacuum is renamed to log_autovacuum_min_duration to better reflect
its meaning.

The log_autovacuum change is not a compatibility issue since it didn't exist
before 8.3 anyway.  The other changes need to be release-noted.
2007-09-24 03:12:23 +00:00
Andrew Dunstan 02138357ff Remove "convert 'blah' using conversion_name" facility, because if it
produces text it is an encoding hole and if not it's incompatible
with the spec, whatever the spec means (which we're not sure about anyway).
2007-09-24 01:29:30 +00:00
Bruce Momjian d16f270e59 Typo fix from Brendan Jurd. 2007-09-23 18:06:47 +00:00
Tom Lane 90c156f0d1 Document the translations from Postgres message severity levels to
syslog and eventlog severity levels, per suggestion from Josh Drake.
Also, some wordsmithing for the csvlog documentation.
2007-09-22 19:10:44 +00:00
Tom Lane cc59049daf Improve handling of prune/no-prune decisions by storing a page's oldest
unpruned XMAX in its header.  At the cost of 4 bytes per page, this keeps us
from performing heap_page_prune when there's no chance of pruning anything.
Seems to be necessary per Heikki's preliminary performance testing.
2007-09-21 21:25:42 +00:00
Bruce Momjian 754838caa3 Done:
> * -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

Not needed anymore:

< * Reuse index tuples that point to heap tuples that are not visible to
<   anyone?
2007-09-20 18:54:19 +00:00
Tom Lane 282d2a03dd HOT updates. When we update a tuple without changing any of its indexed
columns, and the new version can be stored on the same heap page, we no longer
generate extra index entries for the new version.  Instead, index searches
follow the HOT-chain links to ensure they find the correct tuple version.

In addition, this patch introduces the ability to "prune" dead tuples on a
per-page basis, without having to do a complete VACUUM pass to recover space.
VACUUM is still needed to clean up dead index entries, however.

Pavan Deolasee, with help from a bunch of other people.
2007-09-20 17:56:33 +00:00
Bruce Momjian 4893eadc3c Remove tabs from SGML file. 2007-09-19 03:13:57 +00:00
Andrew Dunstan 55613bf9cd Close previously open holes for invalidly encoded data to enter the
database via builtin functions, as recently discussed on -hackers.

chr() now returns a character in the database encoding. For UTF8 encoded databases
the argument is treated as a Unicode code point. For other multi-byte encodings
the argument must designate a strict ascii character, or an error is raised,
as is also the case if the argument is 0.

ascii() is adjusted so that it remains the inverse of chr().

The two argument form of convert() is gone, and the three argument form now
takes a bytea first argument and returns a bytea. To cover this loss three new
functions are introduced:
. convert_from(bytea, name) returns text - converts the first argument from the
  named encoding to the database encoding
. convert_to(text, name) returns bytea - converts the first argument from the
  database encoding to the named encoding
. length(bytea, name) returns int - gives the length of the first argument in
  characters in the named encoding
2007-09-18 17:41:17 +00:00
Tom Lane e92da1a9d1 Update release notes for last-minute fix. 2007-09-16 03:03:00 +00:00
Bruce Momjian 9a36a09f2e Update Japanese FAQ.
Jun Kuwamura
2007-09-15 00:58:19 +00:00
Bruce Momjian c16ffbc677 Add:
>
> 	o Prevent long-lived temporary tables from causing frozen-xid
> 	  advancement starvation
>
> 	  http://archives.postgresql.org/pgsql-general/2007-06/msg01645.php
2007-09-14 19:02:46 +00:00
Bruce Momjian dc8a8a0463 Add:
>
> * Make it possible to use RETURNING together with conditional DO INSTEAD
>   rules, such as for partitioning setups
>
>   http://archives.postgresql.org/pgsql-hackers/2007-09/msg00577.php
2007-09-14 18:50:48 +00:00
Bruce Momjian 18cad61e67 Fix markup. 2007-09-14 18:39:58 +00:00
Bruce Momjian 637878cd85 Update pronunciation FAQ item. 2007-09-14 18:38:44 +00:00
Bruce Momjian 23221f4eea Update to mention alternate project name is "Postgres". 2007-09-14 18:29:59 +00:00
Tom Lane b2acd633e4 Fix markup that doesn't work in back branches. 2007-09-14 16:15:35 +00:00
Bruce Momjian 12afe7bc76 Document atan2() as y/x, rather than x/y, to conform to general usage.
Andrew Maclean
2007-09-14 15:53:48 +00:00
Tom Lane 9b2afa90bf Minor editorialization on release notes. 2007-09-14 15:50:51 +00:00
Bruce Momjian 4b836d8312 Add some links for escape strings.
Brendan Jurd

Fix markup in previous commit.
2007-09-14 14:54:25 +00:00
Bruce Momjian f6a168e2c3 Add LDAP URL documentation.
Albe Laurenz
2007-09-14 14:31:22 +00:00
Bruce Momjian 13e26073bd Update documentation to mention that autovacuum also does analyze so we
don't need to recommend nightly analyzes anymore unless autovacuum is off.
2007-09-14 13:43:03 +00:00
Bruce Momjian fc79628641 Clarify tar documentation about return error codes.
Backpatch to 8.2.X.
2007-09-14 13:26:22 +00:00
Bruce Momjian ae36e0d589 Update tsearch include location in example.
Oleg.
2007-09-14 13:21:30 +00:00
Bruce Momjian c0f2b109bc This is small patch fixes a spi example (PG_MODULE_MAGIC is required as
of PostgreSQL 8.2) and provides a link to compiling and linking section.

Euler Taveira de Oliveira
2007-09-14 04:18:27 +00:00
Bruce Momjian edc18429bd Update GNU tar error code documentation.
Backpatch to 8.2.X.
2007-09-14 04:15:50 +00:00
Bruce Momjian 6c9e4d7e08 Mentino that PAM doesn't work for Unix system authentication because of
the problems non-root reading /etc/shadow.
2007-09-14 03:53:54 +00:00
Bruce Momjian aa33bdd783 Update documented error text.
Fujii Masao
2007-09-14 02:43:18 +00:00
Bruce Momjian dfe2e3f7a5 Clarify age() 'months' calculation documentation. 2007-09-14 00:52:45 +00:00
Bruce Momjian f307fe4c9b Update documentation to emphasize autovacuum rather than
administrator-scheduled vacuums.
2007-09-13 23:43:35 +00:00
Bruce Momjian e8e2bd799f Update Japanese FAQ, backpatch.
Jun Kuwamura
2007-09-13 03:34:11 +00:00
Bruce Momjian 8049626ee2 Update Japanese FAQ to current release number. 2007-09-12 03:11:42 +00:00
Bruce Momjian 0735264aab Upcoming most recent release will be 8.2.5. 2007-09-11 17:34:12 +00:00
Bruce Momjian da7192d1d4 Stamp 2007-09-11 17:19:49 +00:00
Tom Lane 82a47982f3 Arrange for SET LOCAL's effects to persist until the end of the current top
transaction, unless rolled back or overridden by a SET clause for the same
variable attached to a surrounding function call.  Per discussion, these
seem the best semantics.  Note that this is an INCOMPATIBLE CHANGE: in 8.0
through 8.2, SET LOCAL's effects disappeared at subtransaction commit
(leading to behavior that made little sense at the SQL level).

I took advantage of the opportunity to rewrite and simplify the GUC variable
save/restore logic a little bit.  The old idea of a "tentative" value is gone;
it was a hangover from before we had a stack.  Also, we no longer need a stack
entry for every nesting level, but only for those in which a variable's value
actually changed.
2007-09-11 00:06:42 +00:00