From: Tom Lane Date: Thu, 3 Sep 2009 22:13:47 +0000 (+0000) Subject: Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, X-Git-Tag: REL9_0_0~1621 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1608489b2d2c99d0ee0b5aa5d367ac67f8ec06e6;p=pg-rex%2Fsyncrep.git Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 7.4.26. --- diff --git a/doc/src/sgml/release-7.4.sgml b/doc/src/sgml/release-7.4.sgml index 76e79e2dd8..4da61130d4 100644 --- a/doc/src/sgml/release-7.4.sgml +++ b/doc/src/sgml/release-7.4.sgml @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ Release date - 2009-09-09, AS OF 2009-08-26 + 2009-09-09 @@ -20,6 +20,10 @@ A dump/restore is not required for those running 7.4.X. + However, if you have any hash indexes on interval columns, + you must REINDEX them after updating to 7.4.26. + Also, if you are upgrading from a version earlier than 7.4.11, + see the release notes for 7.4.11. @@ -31,7 +35,94 @@ - Re-add documentation for configure flag --no-readline (Andrew) + Disallow RESET ROLE and RESET SESSION + AUTHORIZATION inside security-definer functions (Tom, Heikki) + + + + This covers a case that was missed in the previous patch that + disallowed SET ROLE and SET SESSION + AUTHORIZATION inside security-definer functions. + (See CVE-2007-6600) + + + + + + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + + + + + + Fix hash calculation for data type interval (Tom) + + + + This corrects wrong results for hash joins on interval values. + It also changes the contents of hash indexes on interval columns. + If you have any such indexes, you must REINDEX them + after updating. + + + + + + Fix overflow for INTERVAL 'x ms' + when x is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + + + + + + Fix calculation of distance between a point and a line segment (Tom) + + + + This led to incorrect results from a number of geometric operators. + + + + + + Fix money data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + + + + + + Properly round datetime input like + 00:12:57.9999999999999999999999999999 (Tom) + + + + + + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + + + + + + Fix portability issues in plperl initialization (Andrew Dunstan) + + + + + + Improve robustness of libpq's code to recover + from errors during COPY FROM STDIN (Tom) + + + + + + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) diff --git a/doc/src/sgml/release-8.0.sgml b/doc/src/sgml/release-8.0.sgml index 31a55278eb..b61a197a7a 100644 --- a/doc/src/sgml/release-8.0.sgml +++ b/doc/src/sgml/release-8.0.sgml @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ Release date - 2009-09-09, AS OF 2009-08-26 + 2009-09-09 @@ -20,6 +20,10 @@ A dump/restore is not required for those running 8.0.X. + However, if you have any hash indexes on interval columns, + you must REINDEX them after updating to 8.0.22. + Also, if you are upgrading from a version earlier than 8.0.6, + see the release notes for 8.0.6. @@ -31,6 +35,40 @@ + Disallow RESET ROLE and RESET SESSION + AUTHORIZATION inside security-definer functions (Tom, Heikki) + + + + This covers a case that was missed in the previous patch that + disallowed SET ROLE and SET SESSION + AUTHORIZATION inside security-definer functions. + (See CVE-2007-6600) + + + + + + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + + + + + + Fix hash calculation for data type interval (Tom) + + + + This corrects wrong results for hash joins on interval values. + It also changes the contents of hash indexes on interval columns. + If you have any such indexes, you must REINDEX them + after updating. + + + + + Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12' (Heikki) @@ -42,14 +80,83 @@ - Fix /contrib/xml2 xslt_process() to + Fix overflow for INTERVAL 'x ms' + when x is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + + + + + + Fix calculation of distance between a point and a line segment (Tom) + + + + This led to incorrect results from a number of geometric operators. + + + + + + Fix money data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + + + + + + Properly round datetime input like + 00:12:57.9999999999999999999999999999 (Tom) + + + + + + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + + + + + + Fix portability issues in plperl initialization (Andrew Dunstan) + + + + + + Fix pg_ctl to not go into an infinite loop if + postgresql.conf is empty (Jeff Davis) + + + + + + Fix contrib/xml2's xslt_process() to properly handle the maximum number of parameters (twenty) (Tom) - Re-add documentation for configure flag --no-readline (Andrew) + Improve robustness of libpq's code to recover + from errors during COPY FROM STDIN (Tom) + + + + + + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + + + + + + Update time zone data files to tzdata release 2009l + for DST law changes in Bangladesh, Egypt, Jordan, Pakistan, + Argentina/San_Luis, Cuba, Jordan (historical correction only), + Mauritius, Morocco, Palestine, Syria, Tunisia. diff --git a/doc/src/sgml/release-8.1.sgml b/doc/src/sgml/release-8.1.sgml index 319e527d1a..e07fab1d4a 100644 --- a/doc/src/sgml/release-8.1.sgml +++ b/doc/src/sgml/release-8.1.sgml @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ Release date - 2009-09-09, AS OF 2009-08-26 + 2009-09-09 @@ -20,6 +20,10 @@ A dump/restore is not required for those running 8.1.X. + However, if you have any hash indexes on interval columns, + you must REINDEX them after updating to 8.1.18. + Also, if you are upgrading from a version earlier than 8.1.15, + see the release notes for 8.1.15. @@ -31,6 +35,40 @@ + Disallow RESET ROLE and RESET SESSION + AUTHORIZATION inside security-definer functions (Tom, Heikki) + + + + This covers a case that was missed in the previous patch that + disallowed SET ROLE and SET SESSION + AUTHORIZATION inside security-definer functions. + (See CVE-2007-6600) + + + + + + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + + + + + + Fix hash calculation for data type interval (Tom) + + + + This corrects wrong results for hash joins on interval values. + It also changes the contents of hash indexes on interval columns. + If you have any such indexes, you must REINDEX them + after updating. + + + + + Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12' (Heikki) @@ -42,14 +80,83 @@ - Fix /contrib/xml2 xslt_process() to + Fix overflow for INTERVAL 'x ms' + when x is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + + + + + + Fix calculation of distance between a point and a line segment (Tom) + + + + This led to incorrect results from a number of geometric operators. + + + + + + Fix money data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + + + + + + Properly round datetime input like + 00:12:57.9999999999999999999999999999 (Tom) + + + + + + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + + + + + + Fix portability issues in plperl initialization (Andrew Dunstan) + + + + + + Fix pg_ctl to not go into an infinite loop if + postgresql.conf is empty (Jeff Davis) + + + + + + Fix contrib/xml2's xslt_process() to properly handle the maximum number of parameters (twenty) (Tom) - Re-add documentation for configure flag --no-readline (Andrew) + Improve robustness of libpq's code to recover + from errors during COPY FROM STDIN (Tom) + + + + + + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + + + + + + Update time zone data files to tzdata release 2009l + for DST law changes in Bangladesh, Egypt, Jordan, Pakistan, + Argentina/San_Luis, Cuba, Jordan (historical correction only), + Mauritius, Morocco, Palestine, Syria, Tunisia. diff --git a/doc/src/sgml/release-8.2.sgml b/doc/src/sgml/release-8.2.sgml index 1e5b0ef4f3..2fec63e732 100644 --- a/doc/src/sgml/release-8.2.sgml +++ b/doc/src/sgml/release-8.2.sgml @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ Release date - 2009-09-09, AS OF 2009-08-26 + 2009-09-09 @@ -20,6 +20,10 @@ A dump/restore is not required for those running 8.2.X. + However, if you have any hash indexes on interval columns, + you must REINDEX them after updating to 8.2.14. + Also, if you are upgrading from a version earlier than 8.2.11, + see the release notes for 8.2.11. @@ -31,6 +35,84 @@ + Force WAL segment switch during pg_start_backup() + (Heikki) + + + + This avoids corner cases that could render a base backup unusable. + + + + + + Disallow RESET ROLE and RESET SESSION + AUTHORIZATION inside security-definer functions (Tom, Heikki) + + + + This covers a case that was missed in the previous patch that + disallowed SET ROLE and SET SESSION + AUTHORIZATION inside security-definer functions. + (See CVE-2007-6600) + + + + + + Make LOAD of an already-loaded loadable module + into a no-op (Tom) + + + + Formerly, LOAD would attempt to unload and re-load the + module, but this is unsafe and not all that useful. + + + + + + Disallow empty passwords during LDAP authentication (Magnus) + + + + + + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + + + + + + Fix bugs associated with fetching a whole-row value from the + output of a Sort or Materialize plan node (Tom) + + + + + + Revert planner change that disabled partial-index and constraint + exclusion optimizations when there were more than 100 clauses in + an AND or OR list (Tom) + + + + + + Fix hash calculation for data type interval (Tom) + + + + This corrects wrong results for hash joins on interval values. + It also changes the contents of hash indexes on interval columns. + If you have any such indexes, you must REINDEX them + after updating. + + + + + Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12' (Heikki) @@ -42,14 +124,105 @@ - Fix /contrib/xml2 xslt_process() to + Fix overflow for INTERVAL 'x ms' + when x is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + + + + + + Fix calculation of distance between a point and a line segment (Tom) + + + + This led to incorrect results from a number of geometric operators. + + + + + + Fix money data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + + + + + + Properly round datetime input like + 00:12:57.9999999999999999999999999999 (Tom) + + + + + + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + + + + + + Avoid performance degradation in bulk inserts into GIN indexes + when the input values are (nearly) in sorted order (Tom) + + + + + + Correctly enforce NOT NULL domain constraints in some contexts in + PL/pgSQL (Tom) + + + + + + Fix portability issues in plperl initialization (Andrew Dunstan) + + + + + + Fix pg_ctl to not go into an infinite loop if + postgresql.conf is empty (Jeff Davis) + + + + + + Make contrib/hstore throw an error when a key or + value is too long to fit in its data structure, rather than + silently truncating it (Andrew Gierth) + + + + + + Fix contrib/xml2's xslt_process() to properly handle the maximum number of parameters (twenty) (Tom) - Re-add documentation for configure flag --no-readline (Andrew) + Improve robustness of libpq's code to recover + from errors during COPY FROM STDIN (Tom) + + + + + + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + + + + + + Update time zone data files to tzdata release 2009l + for DST law changes in Bangladesh, Egypt, Jordan, Pakistan, + Argentina/San_Luis, Cuba, Jordan (historical correction only), + Mauritius, Morocco, Palestine, Syria, Tunisia. diff --git a/doc/src/sgml/release-8.3.sgml b/doc/src/sgml/release-8.3.sgml index 7520a6a4f0..aa4cc4ed76 100644 --- a/doc/src/sgml/release-8.3.sgml +++ b/doc/src/sgml/release-8.3.sgml @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ Release date - 2009-09-09, AS OF 2009-08-26 + 2009-09-09 @@ -20,6 +20,10 @@ A dump/restore is not required for those running 8.3.X. + However, if you have any hash indexes on interval columns, + you must REINDEX them after updating to 8.3.8. + Also, if you are upgrading from a version earlier than 8.3.5, + see the release notes for 8.3.5. @@ -31,6 +35,102 @@ + Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus) + + + + This bug led to the often-reported could not reattach + to shared memory error message. + + + + + + Force WAL segment switch during pg_start_backup() + (Heikki) + + + + This avoids corner cases that could render a base backup unusable. + + + + + + Disallow RESET ROLE and RESET SESSION + AUTHORIZATION inside security-definer functions (Tom, Heikki) + + + + This covers a case that was missed in the previous patch that + disallowed SET ROLE and SET SESSION + AUTHORIZATION inside security-definer functions. + (See CVE-2007-6600) + + + + + + Make LOAD of an already-loaded loadable module + into a no-op (Tom) + + + + Formerly, LOAD would attempt to unload and re-load the + module, but this is unsafe and not all that useful. + + + + + + Disallow empty passwords during LDAP authentication (Magnus) + + + + + + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + + + + + + Fix bugs associated with fetching a whole-row value from the + output of a Sort or Materialize plan node (Tom) + + + + + + Prevent synchronize_seqscans from changing the results of + scrollable and WITH HOLD cursors (Tom) + + + + + + Revert planner change that disabled partial-index and constraint + exclusion optimizations when there were more than 100 clauses in + an AND or OR list (Tom) + + + + + + Fix hash calculation for data type interval (Tom) + + + + This corrects wrong results for hash joins on interval values. + It also changes the contents of hash indexes on interval columns. + If you have any such indexes, you must REINDEX them + after updating. + + + + + Treat to_char(..., 'TH') as an uppercase ordinal suffix with 'HH'/'HH12' (Heikki) @@ -42,33 +142,147 @@ - Fix /contrib/xml2 xslt_process() to - properly handle the maximum number of parameters (twenty) (Tom) + Fix overflow for INTERVAL 'x ms' + when x is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + + + + + + Fix calculation of distance between a point and a line segment (Tom) + + + + This led to incorrect results from a number of geometric operators. + + + + + + Fix money data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + + + + + + Fix LIKE for case where pattern contains %_ + (Tom) + + + + + + Properly round datetime input like + 00:12:57.9999999999999999999999999999 (Tom) + + + + + + Fix memory leaks in XML operations (Tom) + + + + + + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) - Fix case where pg_ctl fast shutdown was not - working if pg_ctl smart shutdown was already in - progress (Fujii Masao) + Ensure that a fast shutdown request will forcibly terminate + open sessions, even if a smart shutdown was already in progress + (Fujii Masao) - Re-add documentation for configure flag --no-readline (Andrew) + Avoid performance degradation in bulk inserts into GIN indexes + when the input values are (nearly) in sorted order (Tom) - Fix problem where Win32 shared memory allocation sometimes failed on - startup (Tsutomu Yamada, Magnus) + Correctly enforce NOT NULL domain constraints in some contexts in + PL/pgSQL (Tom) + + + + + Fix portability issues in plperl initialization (Andrew Dunstan) + + + + + + Fix pg_ctl to not go into an infinite loop if + postgresql.conf is empty (Jeff Davis) + + + + + Improve pg_dump's efficiency when there are + many large objects (Tamas Vincze) + + + + + + Use SIGUSR1, not SIGQUIT, as the + failover signal for pg_standby (Heikki) + + + + + + Make pg_standby's maxretries option + behave as documented (Fujii Masao) + + + + + + Make contrib/hstore throw an error when a key or + value is too long to fit in its data structure, rather than + silently truncating it (Andrew Gierth) + + + + + + Fix contrib/xml2's xslt_process() to + properly handle the maximum number of parameters (twenty) (Tom) + + + + + + Improve robustness of libpq's code to recover + from errors during COPY FROM STDIN (Tom) + + + + + + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + + + + - This bug caused some Win32 backends to randomly not start. + Update time zone data files to tzdata release 2009l + for DST law changes in Bangladesh, Egypt, Jordan, Pakistan, + Argentina/San_Luis, Cuba, Jordan (historical correction only), + Mauritius, Morocco, Palestine, Syria, Tunisia. diff --git a/doc/src/sgml/release-8.4.sgml b/doc/src/sgml/release-8.4.sgml index 2d8a2eda3e..79daca0133 100644 --- a/doc/src/sgml/release-8.4.sgml +++ b/doc/src/sgml/release-8.4.sgml @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ Release date - 2009-09-09, AS OF 2009-08-26 + 2009-09-09 @@ -31,139 +31,196 @@ - Fix pg_dump --binary-upgrade to handle dropped inherited columns - and their check constraints properly (Tom) + Fix WAL page header initialization at the end of archive recovery + (Heikki) - pg_dump --binary-upgrade is used by pg_migrator. + This could lead to failure to process the WAL in a subsequent + archive recovery. - Fix pg_dump --binary-upgrade to handle pg_largeobject frozen xid value - (Bruce) + Fix cannot make new WAL entries during recovery error (Tom) - Allow parentheses around the WITH query expression - body (Tom) + Fix problem that could make expired rows visible after a crash (Tom) + + + + This bug involved a page status bit potentially not being set + correctly after a server crash. - Treat to_char(..., 'TH') as an uppercase ordinal - suffix with 'HH'/'HH12' (Heikki) + Disallow RESET ROLE and RESET SESSION + AUTHORIZATION inside security-definer functions (Tom, Heikki) - It was previously handled as 'th' (lowercase). + This covers a case that was missed in the previous patch that + disallowed SET ROLE and SET SESSION + AUTHORIZATION inside security-definer functions. + (See CVE-2007-6600) - Fix locale handling with plperl (Heikki) + Make LOAD of an already-loaded loadable module + into a no-op (Tom) - This bug could cause the servers locale to change, leading to - data corruption. + Formerly, LOAD would attempt to unload and re-load the + module, but this is unsafe and not all that useful. - Fix /contrib/xml2 xslt_process() to - properly handle the maximum number of parameters (twenty) (Tom) + Make window function PARTITION BY and ORDER BY + items always be interpreted as simple expressions (Tom) + + + + In 8.4.0 these lists were parsed following the rules used for + top-level GROUP BY and ORDER BY lists. + But this was not correct per the SQL standard, and it led to possible + circularity. - Remove translated FAQs (Peter) + Fix several errors in planning of semi-joins (Tom) - They are now on the wiki. The - main FAQ was moved to the wiki some time ago. + These led to wrong query results in some cases where IN + or EXISTS was used together with another join. + + + + + + Fix handling of whole-row references to subqueries that are within + an outer join (Tom) + + + + An example is + SELECT COUNT(ss.*) FROM ... LEFT JOIN (SELECT ...) ss ON .... + Here, ss.* would be treated as ROW(NULL,NULL,...) + for null-extended join rows, which is not the same as a simple NULL. + Now it is treated as a simple NULL. - Reduce memory consumption of aggregates on arrays (Tom) + Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus) + + + + This bug led to the often-reported could not reattach + to shared memory error message. - Properly show fractional seconds and milliseconds for - EXTRACT() (Tom) + Fix locale handling with plperl (Heikki) + + + + This bug could cause the server's locale setting to change when a + plperl function is called, leading to data corruption. - Fix case where pg_ctl fast shutdown was not - working if pg_ctl smart shutdown was already in - progress (Fujii Masao) + Fix handling of reloptions to ensure setting one option doesn't + force default values for others (Itagaki Takahiro) - Fix rare recovery error related to the creation of WAL entries (Tom) + Ensure that a fast shutdown request will forcibly terminate + open sessions, even if a smart shutdown was already in progress + (Fujii Masao) - Re-add documentation for configure flag --no-readline (Andrew) + Avoid memory leak for array_agg() in GROUP BY + queries (Tom) - Fix problem where Win32 shared memory allocation sometimes failed on - startup (Tsutomu Yamada, Magnus) + Treat to_char(..., 'TH') as an uppercase ordinal + suffix with 'HH'/'HH12' (Heikki) - This bug caused some Win32 backends to randomly not start. + It was previously handled as 'th' (lowercase). - Improve performance when processing TOAST rows (Tom) + Include the fractional part in the result of + EXTRACT(second) and + EXTRACT(milliseconds) for + time and time with time zone inputs (Tom) - This is particularly useful for PostGIS. + This has always worked for floating-point datetime configurations, + but was broken in the integer datetime code. + + + + + + Fix overflow for INTERVAL 'x ms' + when x is more than 2 million and integer + datetimes are in use (Alex Hunsaker) - Fix problem where expired rows could appear visible after a crash (Tom) + Improve performance when processing toasted values in index scans (Tom) - This bug involved a page status bit potentially not being set - correctly after a server crash. + This is particularly useful for PostGIS. + + + + + + Fix a typo that disabled commit_delay (Jeff Janes) - Output configuration file errors to postmaster.log if the + Output early-startup messages to postmaster.log if the server is started in silent mode (Tom) @@ -173,6 +230,71 @@ + + + Remove translated FAQs (Peter) + + + + They are now on the wiki. The + main FAQ was moved to the wiki some time ago. + + + + + + Fix pg_ctl to not go into an infinite loop if + postgresql.conf is empty (Jeff Davis) + + + + + + Fix several errors in pg_dump's + --binary-upgrade mode (Bruce, Tom) + + + + pg_dump --binary-upgrade is used by pg_migrator. + + + + + + Fix contrib/xml2's xslt_process() to + properly handle the maximum number of parameters (twenty) (Tom) + + + + + + Improve robustness of libpq's code to recover + from errors during COPY FROM STDIN (Tom) + + + + + + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + + + + + + Work around gcc bug that causes floating-point exception + instead of division by zero on some platforms (Tom) + + + + + + Update time zone data files to tzdata release 2009l + for DST law changes in Bangladesh, Egypt, Mauritius. + + +