diff --git a/doc/src/sgml/release-8.2.sgml b/doc/src/sgml/release-8.2.sgml
index 2dd49d6a063..0a9ee5031af 100644
--- a/doc/src/sgml/release-8.2.sgml
+++ b/doc/src/sgml/release-8.2.sgml
@@ -1,11 +1,143 @@
+
+ Release 8.2.21
+
+
+ Release Date
+ 2011-04-18
+
+
+
+ This release contains a variety of fixes from 8.2.20.
+ For information about new features in the 8.2 major release, see
+ .
+
+
+
+ Migration to Version 8.2.21
+
+
+ A dump/restore is not required for those running 8.2.X.
+ However, if you are upgrading from a version earlier than 8.2.14,
+ see the release notes for 8.2.14.
+
+
+
+
+
+ Changes
+
+
+
+
+
+ Avoid potential deadlock during catalog cache initialization
+ (Nikhil Sontakke)
+
+
+
+ In some cases the cache loading code would acquire share lock on a
+ system index before locking the index's catalog. This could deadlock
+ against processes trying to acquire exclusive locks in the other,
+ more standard order.
+
+
+
+
+
+ Fix dangling-pointer problem in BEFORE ROW UPDATE> trigger
+ handling when there was a concurrent update to the target tuple
+ (Tom Lane)
+
+
+
+ This bug has been observed to result in intermittent cannot
+ extract system attribute from virtual tuple> failures while trying to
+ do UPDATE RETURNING ctid>. There is a very small probability
+ of more serious errors, such as generating incorrect index entries for
+ the updated tuple.
+
+
+
+
+
+ Disallow DROP TABLE> when there are pending deferred trigger
+ events for the table (Tom Lane)
+
+
+
+ Formerly the DROP> would go through, leading to
+ could not open relation with OID nnn> errors when the
+ triggers were eventually fired.
+
+
+
+
+
+ Fix PL/Python memory leak involving array slices (Daniel Popowich)
+
+
+
+
+
+ Fix pg_restore> to cope with long lines (over 1KB) in
+ TOC files (Tom Lane)
+
+
+
+
+
+ Put in more safeguards against crashing due to division-by-zero
+ with overly enthusiastic compiler optimization (Aurelien Jarno)
+
+
+
+
+
+ Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane)
+
+
+
+ There was a hard-wired assumption that this system function was not
+ available on MIPS hardware on these systems. Use a compile-time test
+ instead, since more recent versions have it.
+
+
+
+
+
+ Fix compilation failures on HP-UX (Heikki Linnakangas)
+
+
+
+
+
+ Fix path separator used by pg_regress> on Cygwin
+ (Andrew Dunstan)
+
+
+
+
+
+ Update time zone data files to tzdata> release 2011f
+ for DST law changes in Chile, Cuba, Falkland Islands, Morocco, Samoa,
+ and Turkey; also historical corrections for South Australia, Alaska,
+ and Hawaii.
+
+
+
+
+
+
+
+
Release 8.2.20
- Release date
+ Release Date2011-01-31
@@ -137,7 +269,7 @@
Release 8.2.19
- Release date
+ Release Date2010-12-16
@@ -381,7 +513,7 @@
Release 8.2.18
- Release date
+ Release Date2010-10-04
@@ -667,7 +799,7 @@
Release 8.2.17
- Release date
+ Release Date2010-05-17
@@ -868,7 +1000,7 @@
Release 8.2.16
- Release date
+ Release Date2010-03-15
@@ -1139,7 +1271,7 @@
Release 8.2.15
- Release date
+ Release Date2009-12-14
@@ -1383,7 +1515,7 @@
Release 8.2.14
- Release date
+ Release Date2009-09-09
@@ -1613,7 +1745,7 @@
Release 8.2.13
- Release date
+ Release Date2009-03-16
@@ -1779,7 +1911,7 @@
Release 8.2.12
- Release date
+ Release Date2009-02-02
@@ -1958,7 +2090,7 @@
Release 8.2.11
- Release date
+ Release Date2008-11-03
@@ -2142,7 +2274,7 @@
Release 8.2.10
- Release date
+ Release Date2008-09-22
@@ -2374,7 +2506,7 @@
Release 8.2.9
- Release date
+ Release Date2008-06-12
@@ -2441,7 +2573,7 @@
Release 8.2.8
- Release date
+ Release Datenever released
@@ -2636,7 +2768,7 @@
Release 8.2.7
- Release date
+ Release Date2008-03-17
@@ -2905,7 +3037,7 @@
Release 8.2.6
- Release date
+ Release Date2008-01-07
@@ -3196,7 +3328,7 @@
Release 8.2.5
- Release date
+ Release Date2007-09-17
@@ -3373,7 +3505,7 @@
Release 8.2.4
- Release date
+ Release Date2007-04-23
@@ -3517,7 +3649,7 @@
Release 8.2.3
- Release date
+ Release Date2007-02-07
@@ -3563,7 +3695,7 @@
Release 8.2.2
- Release date
+ Release Date2007-02-05
@@ -3721,7 +3853,7 @@
Release 8.2.1
- Release date
+ Release Date2007-01-08
@@ -3856,7 +3988,7 @@
Release 8.2
- Release date
+ Release Date2006-12-05
diff --git a/doc/src/sgml/release-8.3.sgml b/doc/src/sgml/release-8.3.sgml
index c0595ab5df0..bccc141a549 100644
--- a/doc/src/sgml/release-8.3.sgml
+++ b/doc/src/sgml/release-8.3.sgml
@@ -1,11 +1,174 @@
+
+ Release 8.3.15
+
+
+ Release Date
+ 2011-04-18
+
+
+
+ This release contains a variety of fixes from 8.3.14.
+ For information about new features in the 8.3 major release, see
+ .
+
+
+
+ Migration to Version 8.3.15
+
+
+ A dump/restore is not required for those running 8.3.X.
+ However, if you are upgrading from a version earlier than 8.3.8,
+ see the release notes for 8.3.8.
+
+
+
+
+
+ Changes
+
+
+
+
+
+ Disallow including a composite type in itself (Tom Lane)
+
+
+
+ This prevents scenarios wherein the server could recurse infinitely
+ while processing the composite type. While there are some possible
+ uses for such a structure, they don't seem compelling enough to
+ justify the effort required to make sure it always works safely.
+
+
+
+
+
+ Avoid potential deadlock during catalog cache initialization
+ (Nikhil Sontakke)
+
+
+
+ In some cases the cache loading code would acquire share lock on a
+ system index before locking the index's catalog. This could deadlock
+ against processes trying to acquire exclusive locks in the other,
+ more standard order.
+
+
+
+
+
+ Fix dangling-pointer problem in BEFORE ROW UPDATE> trigger
+ handling when there was a concurrent update to the target tuple
+ (Tom Lane)
+
+
+
+ This bug has been observed to result in intermittent cannot
+ extract system attribute from virtual tuple> failures while trying to
+ do UPDATE RETURNING ctid>. There is a very small probability
+ of more serious errors, such as generating incorrect index entries for
+ the updated tuple.
+
+
+
+
+
+ Disallow DROP TABLE> when there are pending deferred trigger
+ events for the table (Tom Lane)
+
+
+
+ Formerly the DROP> would go through, leading to
+ could not open relation with OID nnn> errors when the
+ triggers were eventually fired.
+
+
+
+
+
+ Fix PL/Python memory leak involving array slices (Daniel Popowich)
+
+
+
+
+
+ Fix pg_restore> to cope with long lines (over 1KB) in
+ TOC files (Tom Lane)
+
+
+
+
+
+ Put in more safeguards against crashing due to division-by-zero
+ with overly enthusiastic compiler optimization (Aurelien Jarno)
+
+
+
+
+
+ Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane)
+
+
+
+ There was a hard-wired assumption that this system function was not
+ available on MIPS hardware on these systems. Use a compile-time test
+ instead, since more recent versions have it.
+
+
+
+
+
+ Fix compilation failures on HP-UX (Heikki Linnakangas)
+
+
+
+
+
+ Fix version-incompatibility problem with libintl> on
+ Windows (Hiroshi Inoue)
+
+
+
+
+
+ Fix usage of xcopy> in Windows build scripts to
+ work correctly under Windows 7 (Andrew Dunstan)
+
+
+
+ This affects the build scripts only, not installation or usage.
+
+
+
+
+
+ Fix path separator used by pg_regress> on Cygwin
+ (Andrew Dunstan)
+
+
+
+
+
+ Update time zone data files to tzdata> release 2011f
+ for DST law changes in Chile, Cuba, Falkland Islands, Morocco, Samoa,
+ and Turkey; also historical corrections for South Australia, Alaska,
+ and Hawaii.
+
+
+
+
+
+
+
+
Release 8.3.14
- Release date
+ Release Date2011-01-31
@@ -137,7 +300,7 @@
Release 8.3.13
- Release date
+ Release Date2010-12-16
@@ -415,7 +578,7 @@
Release 8.3.12
- Release date
+ Release Date2010-10-04
@@ -778,7 +941,7 @@
Release 8.3.11
- Release date
+ Release Date2010-05-17
@@ -1007,7 +1170,7 @@
Release 8.3.10
- Release date
+ Release Date2010-03-15
@@ -1334,7 +1497,7 @@
Release 8.3.9
- Release date
+ Release Date2009-12-14
@@ -1667,7 +1830,7 @@
Release 8.3.8
- Release date
+ Release Date2009-09-09
@@ -1957,7 +2120,7 @@
Release 8.3.7
- Release date
+ Release Date2009-03-16
@@ -2180,7 +2343,7 @@
Release 8.3.6
- Release date
+ Release Date2009-02-02
@@ -2474,7 +2637,7 @@
Release 8.3.5
- Release date
+ Release Date2008-11-03
@@ -2729,7 +2892,7 @@
Release 8.3.4
- Release date
+ Release Date2008-09-22
@@ -3083,7 +3246,7 @@
Release 8.3.3
- Release date
+ Release Date2008-06-12
@@ -3150,7 +3313,7 @@
Release 8.3.2
- Release date
+ Release Datenever released
@@ -3515,7 +3678,7 @@
Release 8.3.1
- Release date
+ Release Date2008-03-17
@@ -3828,7 +3991,7 @@
Release 8.3
- Release date
+ Release Date2008-02-04
diff --git a/doc/src/sgml/release-8.4.sgml b/doc/src/sgml/release-8.4.sgml
index 5cabfb4d014..ba1afcafe9c 100644
--- a/doc/src/sgml/release-8.4.sgml
+++ b/doc/src/sgml/release-8.4.sgml
@@ -1,11 +1,259 @@
+
+ Release 8.4.8
+
+
+ Release Date
+ 2011-04-18
+
+
+
+ This release contains a variety of fixes from 8.4.7.
+ For information about new features in the 8.4 major release, see
+ .
+
+
+
+ Migration to Version 8.4.8
+
+
+ A dump/restore is not required for those running 8.4.X.
+
+
+
+ However, if your installation was upgraded from a previous major
+ release by running pg_upgrade>, you should take
+ action to prevent possible data loss due to a now-fixed bug in
+ pg_upgrade>. The recommended solution is to run
+ VACUUM FREEZE> on all TOAST tables.
+ More information is available at
+ http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix.
+
+
+
+ Also, if you are upgrading from a version earlier than 8.4.2,
+ see the release notes for 8.4.2.
+
+
+
+
+
+ Changes
+
+
+
+
+
+ Fix pg_upgrade>'s handling of TOAST tables
+ (Bruce Momjian)
+
+
+
+ The pg_class>.relfrozenxid> value for
+ TOAST tables was not correctly copied into the new installation
+ during pg_upgrade>. This could later result in
+ pg_clog> files being discarded while they were still
+ needed to validate tuples in the TOAST tables, leading to
+ could not access status of transaction> failures.
+
+
+
+ This error poses a significant risk of data loss for installations
+ that have been upgraded with pg_upgrade>. This patch
+ corrects the problem for future uses of pg_upgrade>,
+ but does not in itself cure the issue in installations that have been
+ processed with a buggy version of pg_upgrade>.
+
+
+
+
+
+ Suppress incorrect PD_ALL_VISIBLE flag was incorrectly set>
+ warning (Heikki Linnakangas)
+
+
+
+ VACUUM> would sometimes issue this warning in cases that
+ are actually valid.
+
+
+
+
+
+ Disallow including a composite type in itself (Tom Lane)
+
+
+
+ This prevents scenarios wherein the server could recurse infinitely
+ while processing the composite type. While there are some possible
+ uses for such a structure, they don't seem compelling enough to
+ justify the effort required to make sure it always works safely.
+
+
+
+
+
+ Avoid potential deadlock during catalog cache initialization
+ (Nikhil Sontakke)
+
+
+
+ In some cases the cache loading code would acquire share lock on a
+ system index before locking the index's catalog. This could deadlock
+ against processes trying to acquire exclusive locks in the other,
+ more standard order.
+
+
+
+
+
+ Fix dangling-pointer problem in BEFORE ROW UPDATE> trigger
+ handling when there was a concurrent update to the target tuple
+ (Tom Lane)
+
+
+
+ This bug has been observed to result in intermittent cannot
+ extract system attribute from virtual tuple> failures while trying to
+ do UPDATE RETURNING ctid>. There is a very small probability
+ of more serious errors, such as generating incorrect index entries for
+ the updated tuple.
+
+
+
+
+
+ Disallow DROP TABLE> when there are pending deferred trigger
+ events for the table (Tom Lane)
+
+
+
+ Formerly the DROP> would go through, leading to
+ could not open relation with OID nnn> errors when the
+ triggers were eventually fired.
+
+
+
+
+
+ Prevent crash triggered by constant-false WHERE conditions during
+ GEQO optimization (Tom Lane)
+
+
+
+
+
+
+
+
+ Improve planner's handling of semi-join and anti-join cases
+ (Tom Lane)
+
+
+
+
+
+ Fix selectivity estimation for text search to account for NULLs
+ (Jesper Krogh)
+
+
+
+
+
+ Improve PL/pgSQL's ability to handle row types with dropped columns
+ (Pavel Stehule)
+
+
+
+ This is a back-patch of fixes previously made in 9.0.
+
+
+
+
+
+ Fix PL/Python memory leak involving array slices (Daniel Popowich)
+
+
+
+
+
+ Fix pg_restore> to cope with long lines (over 1KB) in
+ TOC files (Tom Lane)
+
+
+
+
+
+ Put in more safeguards against crashing due to division-by-zero
+ with overly enthusiastic compiler optimization (Aurelien Jarno)
+
+
+
+
+
+ Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane)
+
+
+
+ There was a hard-wired assumption that this system function was not
+ available on MIPS hardware on these systems. Use a compile-time test
+ instead, since more recent versions have it.
+
+
+
+
+
+ Fix compilation failures on HP-UX (Heikki Linnakangas)
+
+
+
+
+
+ Fix version-incompatibility problem with libintl> on
+ Windows (Hiroshi Inoue)
+
+
+
+
+
+ Fix usage of xcopy> in Windows build scripts to
+ work correctly under Windows 7 (Andrew Dunstan)
+
+
+
+ This affects the build scripts only, not installation or usage.
+
+
+
+
+
+ Fix path separator used by pg_regress> on Cygwin
+ (Andrew Dunstan)
+
+
+
+
+
+ Update time zone data files to tzdata> release 2011f
+ for DST law changes in Chile, Cuba, Falkland Islands, Morocco, Samoa,
+ and Turkey; also historical corrections for South Australia, Alaska,
+ and Hawaii.
+
+
+
+
+
+
+
+
Release 8.4.7
- Release date
+ Release Date2011-01-31
@@ -137,7 +385,7 @@
Release 8.4.6
- Release date
+ Release Date2010-12-16
@@ -448,7 +696,7 @@
Release 8.4.5
- Release date
+ Release Date2010-10-04
@@ -970,7 +1218,7 @@
Release 8.4.4
- Release date
+ Release Date2010-05-17
@@ -1261,7 +1509,7 @@
Release 8.4.3
- Release date
+ Release Date2010-03-15
@@ -1728,7 +1976,7 @@
Release 8.4.2
- Release date
+ Release Date2009-12-14
@@ -2259,7 +2507,7 @@ WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE
Release 8.4.1
- Release date
+ Release Date2009-09-09
@@ -2558,7 +2806,7 @@ WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE
Release 8.4
- Release date
+ Release Date2009-07-01
diff --git a/doc/src/sgml/release-9.0.sgml b/doc/src/sgml/release-9.0.sgml
index 8fe18cc30ef..4b232f065f6 100644
--- a/doc/src/sgml/release-9.0.sgml
+++ b/doc/src/sgml/release-9.0.sgml
@@ -1,11 +1,355 @@
+
+ Release 9.0.4
+
+
+ Release Date
+ 2011-04-18
+
+
+
+ This release contains a variety of fixes from 9.0.3.
+ For information about new features in the 9.0 major release, see
+ .
+
+
+
+ Migration to Version 9.0.4
+
+
+ A dump/restore is not required for those running 9.0.X.
+
+
+
+ However, if your installation was upgraded from a previous major
+ release by running pg_upgrade>, you should take
+ action to prevent possible data loss due to a now-fixed bug in
+ pg_upgrade>. The recommended solution is to run
+ VACUUM FREEZE> on all TOAST tables.
+ More information is available at
+ http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix.
+
+
+
+
+
+ Changes
+
+
+
+
+
+ Fix pg_upgrade>'s handling of TOAST tables
+ (Bruce Momjian)
+
+
+
+ The pg_class>.relfrozenxid> value for
+ TOAST tables was not correctly copied into the new installation
+ during pg_upgrade>. This could later result in
+ pg_clog> files being discarded while they were still
+ needed to validate tuples in the TOAST tables, leading to
+ could not access status of transaction> failures.
+
+
+
+ This error poses a significant risk of data loss for installations
+ that have been upgraded with pg_upgrade>. This patch
+ corrects the problem for future uses of pg_upgrade>,
+ but does not in itself cure the issue in installations that have been
+ processed with a buggy version of pg_upgrade>.
+
+
+
+
+
+ Suppress incorrect PD_ALL_VISIBLE flag was incorrectly set>
+ warning (Heikki Linnakangas)
+
+
+
+ VACUUM> would sometimes issue this warning in cases that
+ are actually valid.
+
+
+
+
+
+ Use better SQLSTATE error codes for hot standby conflict cases
+ (Tatsuo Ishii and Simon Riggs)
+
+
+
+ All retryable conflict errors now have an error code that indicates
+ that a retry is possible. Also, session closure due to the database
+ being dropped on the master is now reported as
+ ERRCODE_DATABASE_DROPPED>, rather than
+ ERRCODE_ADMIN_SHUTDOWN>, so that connection poolers can
+ handle the situation correctly.
+
+
+
+
+
+ Prevent intermittent hang in interactions of startup process with
+ bgwriter process (Simon Riggs)
+
+
+
+ This affected recovery in non-hot-standby cases.
+
+
+
+
+
+ Disallow including a composite type in itself (Tom Lane)
+
+
+
+ This prevents scenarios wherein the server could recurse infinitely
+ while processing the composite type. While there are some possible
+ uses for such a structure, they don't seem compelling enough to
+ justify the effort required to make sure it always works safely.
+
+
+
+
+
+ Avoid potential deadlock during catalog cache initialization
+ (Nikhil Sontakke)
+
+
+
+ In some cases the cache loading code would acquire share lock on a
+ system index before locking the index's catalog. This could deadlock
+ against processes trying to acquire exclusive locks in the other,
+ more standard order.
+
+
+
+
+
+ Fix dangling-pointer problem in BEFORE ROW UPDATE> trigger
+ handling when there was a concurrent update to the target tuple
+ (Tom Lane)
+
+
+
+ This bug has been observed to result in intermittent cannot
+ extract system attribute from virtual tuple> failures while trying to
+ do UPDATE RETURNING ctid>. There is a very small probability
+ of more serious errors, such as generating incorrect index entries for
+ the updated tuple.
+
+
+
+
+
+ Disallow DROP TABLE> when there are pending deferred trigger
+ events for the table (Tom Lane)
+
+
+
+ Formerly the DROP> would go through, leading to
+ could not open relation with OID nnn> errors when the
+ triggers were eventually fired.
+
+
+
+
+
+ Allow replication> as a user name in
+ pg_hba.conf> (Andrew Dunstan)
+
+
+
+ replication> is special in the database name column, but it
+ was mistakenly also treated as special in the user name column.
+
+
+
+
+
+ Prevent crash triggered by constant-false WHERE conditions during
+ GEQO optimization (Tom Lane)
+
+
+
+
+
+
+
+
+ Improve planner's handling of semi-join and anti-join cases
+ (Tom Lane)
+
+
+
+
+
+ Fix handling of SELECT FOR UPDATE> in a sub-SELECT
+ (Tom Lane)
+
+
+
+ This bug typically led to cannot extract system attribute from
+ virtual tuple> errors.
+
+
+
+
+
+ Fix selectivity estimation for text search to account for NULLs
+ (Jesper Krogh)
+
+
+
+
+
+ Fix get_actual_variable_range() to support hypothetical indexes
+ injected by an index adviser plugin (Gurjeet Singh)
+
+
+
+
+
+ Fix PL/Python memory leak involving array slices (Daniel Popowich)
+
+
+
+
+
+ Allow libpq>'s SSL initialization to succeed when
+ user's home directory is unavailable (Tom Lane)
+
+
+
+ If the SSL mode is such that a root certificate file is not required,
+ there is no need to fail. This change restores the behavior to what
+ it was in pre-9.0 releases.
+
+
+
+
+
+ Fix libpq> to return a useful error message for errors
+ detected in conninfo_array_parse> (Joseph Adams)
+
+
+
+ A typo caused the library to return NULL, rather than the
+ PGconn> structure containing the error message, to the
+ application.
+
+
+
+
+
+ Fix ecpg> preprocessor's handling of float constants
+ (Heikki Linnakangas)
+
+
+
+
+
+ Fix parallel pg_restore> to handle comments on
+ POST_DATA items correctly (Arnd Hannemann)
+
+
+
+
+
+ Fix pg_restore> to cope with long lines (over 1KB) in
+ TOC files (Tom Lane)
+
+
+
+
+
+ Put in more safeguards against crashing due to division-by-zero
+ with overly enthusiastic compiler optimization (Aurelien Jarno)
+
+
+
+
+
+ Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane)
+
+
+
+ There was a hard-wired assumption that this system function was not
+ available on MIPS hardware on these systems. Use a compile-time test
+ instead, since more recent versions have it.
+
+
+
+
+
+ Fix compilation failures on HP-UX (Heikki Linnakangas)
+
+
+
+
+
+ Avoid crash when trying to write to the Windows console very early
+ in process startup (Rushabh Lathia)
+
+
+
+
+
+ Support building with MinGW 64 bit compiler for Windows
+ (Andrew Dunstan)
+
+
+
+
+
+ Fix version-incompatibility problem with libintl> on
+ Windows (Hiroshi Inoue)
+
+
+
+
+
+ Fix usage of xcopy> in Windows build scripts to
+ work correctly under Windows 7 (Andrew Dunstan)
+
+
+
+ This affects the build scripts only, not installation or usage.
+
+
+
+
+
+ Fix path separator used by pg_regress> on Cygwin
+ (Andrew Dunstan)
+
+
+
+
+
+ Update time zone data files to tzdata> release 2011f
+ for DST law changes in Chile, Cuba, Falkland Islands, Morocco, Samoa,
+ and Turkey; also historical corrections for South Australia, Alaska,
+ and Hawaii.
+
+
+
+
+
+
+
+
Release 9.0.3
- Release date
+ Release Date2011-01-31
@@ -181,7 +525,7 @@
Release 9.0.2
- Release date
+ Release Date2010-12-16
@@ -628,7 +972,7 @@
Release 9.0.1
- Release date
+ Release Date2010-10-04
@@ -770,7 +1114,7 @@
Release 9.0
- Release date
+ Release Date2010-09-20
@@ -3521,9 +3865,8 @@ if TG_OP = 'INSERT' and NEW.col1 = ... then
- Add data and documentation installation location control to PGXS> Makefiles
- (Mark Cave-Ayland)
+ Add data and documentation installation location control to
+ PGXS> Makefiles (Mark Cave-Ayland)