From 1608489b2d2c99d0ee0b5aa5d367ac67f8ec06e6 Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Thu, 3 Sep 2009 22:13:47 +0000 Subject: [PATCH] Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22, 7.4.26. --- doc/src/sgml/release-7.4.sgml | 97 +++++++++++++- doc/src/sgml/release-8.0.sgml | 115 ++++++++++++++++- doc/src/sgml/release-8.1.sgml | 115 ++++++++++++++++- doc/src/sgml/release-8.2.sgml | 181 +++++++++++++++++++++++++- doc/src/sgml/release-8.3.sgml | 236 ++++++++++++++++++++++++++++++++-- doc/src/sgml/release-8.4.sgml | 200 ++++++++++++++++++++++------ 6 files changed, 879 insertions(+), 65 deletions(-) diff --git a/doc/src/sgml/release-7.4.sgml b/doc/src/sgml/release-7.4.sgml index 76e79e2dd80..4da61130d40 100644 --- a/doc/src/sgml/release-7.4.sgml +++ b/doc/src/sgml/release-7.4.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release-7.4.sgml,v 1.2 2009/08/27 01:27:34 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release-7.4.sgml,v 1.3 2009/09/03 22:13:47 tgl Exp $ --> <!-- See header comment in release.sgml about typical markup --> <sect1 id="release-7-4-26"> @@ -6,7 +6,7 @@ <note> <title>Release date</title> - <simpara>2009-09-09, AS OF 2009-08-26</simpara> + <simpara>2009-09-09</simpara> </note> <para> @@ -20,6 +20,10 @@ <para> A dump/restore is not required for those running 7.4.X. + However, if you have any hash indexes on <type>interval</> columns, + you must <command>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. </para> </sect2> @@ -31,7 +35,94 @@ <listitem> <para> - Re-add documentation for configure flag <literal>--no-readline</> (Andrew) + Disallow <command>RESET ROLE</> and <command>RESET SESSION + AUTHORIZATION</> inside security-definer functions (Tom, Heikki) + </para> + + <para> + This covers a case that was missed in the previous patch that + disallowed <command>SET ROLE</> and <command>SET SESSION + AUTHORIZATION</> inside security-definer functions. + (See CVE-2007-6600) + </para> + </listitem> + + <listitem> + <para> + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix hash calculation for data type <type>interval</> (Tom) + </para> + + <para> + 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 <command>REINDEX</> them + after updating. + </para> + </listitem> + + <listitem> + <para> + Fix overflow for <literal>INTERVAL '<replaceable>x</> ms'</literal> + when <replaceable>x</> is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + </para> + </listitem> + + <listitem> + <para> + Fix calculation of distance between a point and a line segment (Tom) + </para> + + <para> + This led to incorrect results from a number of geometric operators. + </para> + </listitem> + + <listitem> + <para> + Fix <type>money</> data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + </para> + </listitem> + + <listitem> + <para> + Properly round datetime input like + <literal>00:12:57.9999999999999999999999999999</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + </para> + </listitem> + + <listitem> + <para> + Fix portability issues in plperl initialization (Andrew Dunstan) + </para> + </listitem> + + <listitem> + <para> + Improve robustness of <application>libpq</>'s code to recover + from errors during <command>COPY FROM STDIN</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) </para> </listitem> diff --git a/doc/src/sgml/release-8.0.sgml b/doc/src/sgml/release-8.0.sgml index 31a55278eb8..b61a197a7a3 100644 --- a/doc/src/sgml/release-8.0.sgml +++ b/doc/src/sgml/release-8.0.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.0.sgml,v 1.2 2009/08/27 01:27:34 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.0.sgml,v 1.3 2009/09/03 22:13:47 tgl Exp $ --> <!-- See header comment in release.sgml about typical markup --> <sect1 id="release-8-0-22"> @@ -6,7 +6,7 @@ <note> <title>Release date</title> - <simpara>2009-09-09, AS OF 2009-08-26</simpara> + <simpara>2009-09-09</simpara> </note> <para> @@ -20,6 +20,10 @@ <para> A dump/restore is not required for those running 8.0.X. + However, if you have any hash indexes on <type>interval</> columns, + you must <command>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. </para> </sect2> @@ -29,6 +33,40 @@ <itemizedlist> + <listitem> + <para> + Disallow <command>RESET ROLE</> and <command>RESET SESSION + AUTHORIZATION</> inside security-definer functions (Tom, Heikki) + </para> + + <para> + This covers a case that was missed in the previous patch that + disallowed <command>SET ROLE</> and <command>SET SESSION + AUTHORIZATION</> inside security-definer functions. + (See CVE-2007-6600) + </para> + </listitem> + + <listitem> + <para> + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix hash calculation for data type <type>interval</> (Tom) + </para> + + <para> + 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 <command>REINDEX</> them + after updating. + </para> + </listitem> + <listitem> <para> Treat <function>to_char(..., 'TH')</> as an uppercase ordinal @@ -42,14 +80,83 @@ <listitem> <para> - Fix <filename>/contrib/xml2</> <function>xslt_process()</> to + Fix overflow for <literal>INTERVAL '<replaceable>x</> ms'</literal> + when <replaceable>x</> is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + </para> + </listitem> + + <listitem> + <para> + Fix calculation of distance between a point and a line segment (Tom) + </para> + + <para> + This led to incorrect results from a number of geometric operators. + </para> + </listitem> + + <listitem> + <para> + Fix <type>money</> data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + </para> + </listitem> + + <listitem> + <para> + Properly round datetime input like + <literal>00:12:57.9999999999999999999999999999</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + </para> + </listitem> + + <listitem> + <para> + Fix portability issues in plperl initialization (Andrew Dunstan) + </para> + </listitem> + + <listitem> + <para> + Fix <application>pg_ctl</> to not go into an infinite loop if + <filename>postgresql.conf</> is empty (Jeff Davis) + </para> + </listitem> + + <listitem> + <para> + Fix <filename>contrib/xml2</>'s <function>xslt_process()</> to properly handle the maximum number of parameters (twenty) (Tom) </para> </listitem> <listitem> <para> - Re-add documentation for configure flag <literal>--no-readline</> (Andrew) + Improve robustness of <application>libpq</>'s code to recover + from errors during <command>COPY FROM STDIN</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + </para> + </listitem> + + <listitem> + <para> + Update time zone data files to <application>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. </para> </listitem> diff --git a/doc/src/sgml/release-8.1.sgml b/doc/src/sgml/release-8.1.sgml index 319e527d1a4..e07fab1d4a2 100644 --- a/doc/src/sgml/release-8.1.sgml +++ b/doc/src/sgml/release-8.1.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.1.sgml,v 1.2 2009/08/27 01:27:34 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.1.sgml,v 1.3 2009/09/03 22:13:47 tgl Exp $ --> <!-- See header comment in release.sgml about typical markup --> <sect1 id="release-8-1-18"> @@ -6,7 +6,7 @@ <note> <title>Release date</title> - <simpara>2009-09-09, AS OF 2009-08-26</simpara> + <simpara>2009-09-09</simpara> </note> <para> @@ -20,6 +20,10 @@ <para> A dump/restore is not required for those running 8.1.X. + However, if you have any hash indexes on <type>interval</> columns, + you must <command>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. </para> </sect2> @@ -29,6 +33,40 @@ <itemizedlist> + <listitem> + <para> + Disallow <command>RESET ROLE</> and <command>RESET SESSION + AUTHORIZATION</> inside security-definer functions (Tom, Heikki) + </para> + + <para> + This covers a case that was missed in the previous patch that + disallowed <command>SET ROLE</> and <command>SET SESSION + AUTHORIZATION</> inside security-definer functions. + (See CVE-2007-6600) + </para> + </listitem> + + <listitem> + <para> + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix hash calculation for data type <type>interval</> (Tom) + </para> + + <para> + 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 <command>REINDEX</> them + after updating. + </para> + </listitem> + <listitem> <para> Treat <function>to_char(..., 'TH')</> as an uppercase ordinal @@ -42,14 +80,83 @@ <listitem> <para> - Fix <filename>/contrib/xml2</> <function>xslt_process()</> to + Fix overflow for <literal>INTERVAL '<replaceable>x</> ms'</literal> + when <replaceable>x</> is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + </para> + </listitem> + + <listitem> + <para> + Fix calculation of distance between a point and a line segment (Tom) + </para> + + <para> + This led to incorrect results from a number of geometric operators. + </para> + </listitem> + + <listitem> + <para> + Fix <type>money</> data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + </para> + </listitem> + + <listitem> + <para> + Properly round datetime input like + <literal>00:12:57.9999999999999999999999999999</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + </para> + </listitem> + + <listitem> + <para> + Fix portability issues in plperl initialization (Andrew Dunstan) + </para> + </listitem> + + <listitem> + <para> + Fix <application>pg_ctl</> to not go into an infinite loop if + <filename>postgresql.conf</> is empty (Jeff Davis) + </para> + </listitem> + + <listitem> + <para> + Fix <filename>contrib/xml2</>'s <function>xslt_process()</> to properly handle the maximum number of parameters (twenty) (Tom) </para> </listitem> <listitem> <para> - Re-add documentation for configure flag <literal>--no-readline</> (Andrew) + Improve robustness of <application>libpq</>'s code to recover + from errors during <command>COPY FROM STDIN</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + </para> + </listitem> + + <listitem> + <para> + Update time zone data files to <application>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. </para> </listitem> diff --git a/doc/src/sgml/release-8.2.sgml b/doc/src/sgml/release-8.2.sgml index 1e5b0ef4f38..2fec63e7322 100644 --- a/doc/src/sgml/release-8.2.sgml +++ b/doc/src/sgml/release-8.2.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.2.sgml,v 1.2 2009/08/27 01:27:34 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.2.sgml,v 1.3 2009/09/03 22:13:47 tgl Exp $ --> <!-- See header comment in release.sgml about typical markup --> <sect1 id="release-8-2-14"> @@ -6,7 +6,7 @@ <note> <title>Release date</title> - <simpara>2009-09-09, AS OF 2009-08-26</simpara> + <simpara>2009-09-09</simpara> </note> <para> @@ -20,6 +20,10 @@ <para> A dump/restore is not required for those running 8.2.X. + However, if you have any hash indexes on <type>interval</> columns, + you must <command>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. </para> </sect2> @@ -29,6 +33,84 @@ <itemizedlist> + <listitem> + <para> + Force WAL segment switch during <function>pg_start_backup()</> + (Heikki) + </para> + + <para> + This avoids corner cases that could render a base backup unusable. + </para> + </listitem> + + <listitem> + <para> + Disallow <command>RESET ROLE</> and <command>RESET SESSION + AUTHORIZATION</> inside security-definer functions (Tom, Heikki) + </para> + + <para> + This covers a case that was missed in the previous patch that + disallowed <command>SET ROLE</> and <command>SET SESSION + AUTHORIZATION</> inside security-definer functions. + (See CVE-2007-6600) + </para> + </listitem> + + <listitem> + <para> + Make <command>LOAD</> of an already-loaded loadable module + into a no-op (Tom) + </para> + + <para> + Formerly, <command>LOAD</> would attempt to unload and re-load the + module, but this is unsafe and not all that useful. + </para> + </listitem> + + <listitem> + <para> + Disallow empty passwords during LDAP authentication (Magnus) + </para> + </listitem> + + <listitem> + <para> + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix bugs associated with fetching a whole-row value from the + output of a Sort or Materialize plan node (Tom) + </para> + </listitem> + + <listitem> + <para> + 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) + </para> + </listitem> + + <listitem> + <para> + Fix hash calculation for data type <type>interval</> (Tom) + </para> + + <para> + 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 <command>REINDEX</> them + after updating. + </para> + </listitem> + <listitem> <para> Treat <function>to_char(..., 'TH')</> as an uppercase ordinal @@ -42,14 +124,105 @@ <listitem> <para> - Fix <filename>/contrib/xml2</> <function>xslt_process()</> to + Fix overflow for <literal>INTERVAL '<replaceable>x</> ms'</literal> + when <replaceable>x</> is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + </para> + </listitem> + + <listitem> + <para> + Fix calculation of distance between a point and a line segment (Tom) + </para> + + <para> + This led to incorrect results from a number of geometric operators. + </para> + </listitem> + + <listitem> + <para> + Fix <type>money</> data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + </para> + </listitem> + + <listitem> + <para> + Properly round datetime input like + <literal>00:12:57.9999999999999999999999999999</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) + </para> + </listitem> + + <listitem> + <para> + Avoid performance degradation in bulk inserts into GIN indexes + when the input values are (nearly) in sorted order (Tom) + </para> + </listitem> + + <listitem> + <para> + Correctly enforce NOT NULL domain constraints in some contexts in + PL/pgSQL (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix portability issues in plperl initialization (Andrew Dunstan) + </para> + </listitem> + + <listitem> + <para> + Fix <application>pg_ctl</> to not go into an infinite loop if + <filename>postgresql.conf</> is empty (Jeff Davis) + </para> + </listitem> + + <listitem> + <para> + Make <filename>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) + </para> + </listitem> + + <listitem> + <para> + Fix <filename>contrib/xml2</>'s <function>xslt_process()</> to properly handle the maximum number of parameters (twenty) (Tom) </para> </listitem> <listitem> <para> - Re-add documentation for configure flag <literal>--no-readline</> (Andrew) + Improve robustness of <application>libpq</>'s code to recover + from errors during <command>COPY FROM STDIN</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + </para> + </listitem> + + <listitem> + <para> + Update time zone data files to <application>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. </para> </listitem> diff --git a/doc/src/sgml/release-8.3.sgml b/doc/src/sgml/release-8.3.sgml index 7520a6a4f0c..aa4cc4ed767 100644 --- a/doc/src/sgml/release-8.3.sgml +++ b/doc/src/sgml/release-8.3.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.3.sgml,v 1.2 2009/08/27 01:27:34 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.3.sgml,v 1.3 2009/09/03 22:13:47 tgl Exp $ --> <!-- See header comment in release.sgml about typical markup --> <sect1 id="release-8-3-8"> @@ -6,7 +6,7 @@ <note> <title>Release date</title> - <simpara>2009-09-09, AS OF 2009-08-26</simpara> + <simpara>2009-09-09</simpara> </note> <para> @@ -20,6 +20,10 @@ <para> A dump/restore is not required for those running 8.3.X. + However, if you have any hash indexes on <type>interval</> columns, + you must <command>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. </para> </sect2> @@ -29,6 +33,102 @@ <itemizedlist> + <listitem> + <para> + Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus) + </para> + + <para> + This bug led to the often-reported <quote>could not reattach + to shared memory</> error message. + </para> + </listitem> + + <listitem> + <para> + Force WAL segment switch during <function>pg_start_backup()</> + (Heikki) + </para> + + <para> + This avoids corner cases that could render a base backup unusable. + </para> + </listitem> + + <listitem> + <para> + Disallow <command>RESET ROLE</> and <command>RESET SESSION + AUTHORIZATION</> inside security-definer functions (Tom, Heikki) + </para> + + <para> + This covers a case that was missed in the previous patch that + disallowed <command>SET ROLE</> and <command>SET SESSION + AUTHORIZATION</> inside security-definer functions. + (See CVE-2007-6600) + </para> + </listitem> + + <listitem> + <para> + Make <command>LOAD</> of an already-loaded loadable module + into a no-op (Tom) + </para> + + <para> + Formerly, <command>LOAD</> would attempt to unload and re-load the + module, but this is unsafe and not all that useful. + </para> + </listitem> + + <listitem> + <para> + Disallow empty passwords during LDAP authentication (Magnus) + </para> + </listitem> + + <listitem> + <para> + Fix handling of sub-SELECTs appearing in the arguments of + an outer-level aggregate function (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix bugs associated with fetching a whole-row value from the + output of a Sort or Materialize plan node (Tom) + </para> + </listitem> + + <listitem> + <para> + Prevent <varname>synchronize_seqscans</> from changing the results of + scrollable and <literal>WITH HOLD</> cursors (Tom) + </para> + </listitem> + + <listitem> + <para> + 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) + </para> + </listitem> + + <listitem> + <para> + Fix hash calculation for data type <type>interval</> (Tom) + </para> + + <para> + 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 <command>REINDEX</> them + after updating. + </para> + </listitem> + <listitem> <para> Treat <function>to_char(..., 'TH')</> as an uppercase ordinal @@ -42,33 +142,147 @@ <listitem> <para> - Fix <filename>/contrib/xml2</> <function>xslt_process()</> to - properly handle the maximum number of parameters (twenty) (Tom) + Fix overflow for <literal>INTERVAL '<replaceable>x</> ms'</literal> + when <replaceable>x</> is more than 2 million and integer + datetimes are in use (Alex Hunsaker) + </para> + </listitem> + + <listitem> + <para> + Fix calculation of distance between a point and a line segment (Tom) + </para> + + <para> + This led to incorrect results from a number of geometric operators. + </para> + </listitem> + + <listitem> + <para> + Fix <type>money</> data type to work in locales where currency + amounts have no fractional digits, e.g. Japan (Itagaki Takahiro) + </para> + </listitem> + + <listitem> + <para> + Fix <literal>LIKE</> for case where pattern contains <literal>%_</> + (Tom) + </para> + </listitem> + + <listitem> + <para> + Properly round datetime input like + <literal>00:12:57.9999999999999999999999999999</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix memory leaks in XML operations (Tom) + </para> + </listitem> + + <listitem> + <para> + Fix poor choice of page split point in GiST R-tree operator classes + (Teodor) </para> </listitem> <listitem> <para> - Fix case where <application>pg_ctl</> fast shutdown was not - working if <application>pg_ctl</> smart shutdown was already in - progress (Fujii Masao) + Ensure that a <quote>fast shutdown</> request will forcibly terminate + open sessions, even if a <quote>smart shutdown</> was already in progress + (Fujii Masao) </para> </listitem> <listitem> <para> - Re-add documentation for configure flag <literal>--no-readline</> (Andrew) + Avoid performance degradation in bulk inserts into GIN indexes + when the input values are (nearly) in sorted order (Tom) </para> </listitem> <listitem> <para> - 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) </para> + </listitem> + + <listitem> + <para> + Fix portability issues in plperl initialization (Andrew Dunstan) + </para> + </listitem> + + <listitem> + <para> + Fix <application>pg_ctl</> to not go into an infinite loop if + <filename>postgresql.conf</> is empty (Jeff Davis) + </para> + </listitem> + <listitem> + <para> + Improve <application>pg_dump</>'s efficiency when there are + many large objects (Tamas Vincze) + </para> + </listitem> + + <listitem> + <para> + Use <literal>SIGUSR1</>, not <literal>SIGQUIT</>, as the + failover signal for <application>pg_standby</> (Heikki) + </para> + </listitem> + + <listitem> + <para> + Make <application>pg_standby</>'s <literal>maxretries</> option + behave as documented (Fujii Masao) + </para> + </listitem> + + <listitem> + <para> + Make <filename>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) + </para> + </listitem> + + <listitem> + <para> + Fix <filename>contrib/xml2</>'s <function>xslt_process()</> to + properly handle the maximum number of parameters (twenty) (Tom) + </para> + </listitem> + + <listitem> + <para> + Improve robustness of <application>libpq</>'s code to recover + from errors during <command>COPY FROM STDIN</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + </para> + </listitem> + + <listitem> <para> - This bug caused some Win32 backends to randomly not start. + Update time zone data files to <application>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. </para> </listitem> diff --git a/doc/src/sgml/release-8.4.sgml b/doc/src/sgml/release-8.4.sgml index 2d8a2eda3e2..79daca01336 100644 --- a/doc/src/sgml/release-8.4.sgml +++ b/doc/src/sgml/release-8.4.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.4.sgml,v 1.14 2009/08/27 20:05:28 alvherre Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.4.sgml,v 1.15 2009/09/03 22:13:47 tgl Exp $ --> <!-- See header comment in release.sgml about typical markup --> <sect1 id="release-8-4-1"> @@ -6,7 +6,7 @@ <note> <title>Release date</title> - <simpara>2009-09-09, AS OF 2009-08-26</simpara> + <simpara>2009-09-09</simpara> </note> <para> @@ -31,139 +31,196 @@ <listitem> <para> - Fix pg_dump <literal>--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) </para> <para> - <literal>pg_dump --binary-upgrade</> is used by pg_migrator. + This could lead to failure to process the WAL in a subsequent + archive recovery. </para> </listitem> <listitem> <para> - Fix pg_dump <literal>--binary-upgrade</> to handle pg_largeobject frozen xid value - (Bruce) + Fix <quote>cannot make new WAL entries during recovery</> error (Tom) </para> </listitem> <listitem> <para> - Allow parentheses around the <literal>WITH</> query expression - body (Tom) + Fix problem that could make expired rows visible after a crash (Tom) + </para> + + <para> + This bug involved a page status bit potentially not being set + correctly after a server crash. </para> </listitem> <listitem> <para> - Treat <function>to_char(..., 'TH')</> as an uppercase ordinal - suffix with <literal>'HH'</>/<literal>'HH12'</> (Heikki) + Disallow <command>RESET ROLE</> and <command>RESET SESSION + AUTHORIZATION</> inside security-definer functions (Tom, Heikki) </para> <para> - It was previously handled as <literal>'th'</> (lowercase). + This covers a case that was missed in the previous patch that + disallowed <command>SET ROLE</> and <command>SET SESSION + AUTHORIZATION</> inside security-definer functions. + (See CVE-2007-6600) </para> </listitem> <listitem> <para> - Fix locale handling with plperl (Heikki) + Make <command>LOAD</> of an already-loaded loadable module + into a no-op (Tom) </para> <para> - This bug could cause the servers locale to change, leading to - data corruption. + Formerly, <command>LOAD</> would attempt to unload and re-load the + module, but this is unsafe and not all that useful. </para> </listitem> <listitem> <para> - Fix <filename>/contrib/xml2</> <function>xslt_process()</> to - properly handle the maximum number of parameters (twenty) (Tom) + Make window function <literal>PARTITION BY</> and <literal>ORDER BY</> + items always be interpreted as simple expressions (Tom) + </para> + + <para> + In 8.4.0 these lists were parsed following the rules used for + top-level <literal>GROUP BY</> and <literal>ORDER BY</> lists. + But this was not correct per the SQL standard, and it led to possible + circularity. </para> </listitem> <listitem> <para> - Remove translated FAQs (Peter) + Fix several errors in planning of semi-joins (Tom) </para> <para> - They are now on the <ulink - url="http://wiki.postgresql.org/wiki/FAQ">wiki</ulink>. The - main FAQ was moved to the wiki some time ago. + These led to wrong query results in some cases where <literal>IN</> + or <literal>EXISTS</> was used together with another join. + </para> + </listitem> + + <listitem> + <para> + Fix handling of whole-row references to subqueries that are within + an outer join (Tom) + </para> + + <para> + An example is + <literal>SELECT COUNT(ss.*) FROM ... LEFT JOIN (SELECT ...) ss ON ...</>. + Here, <literal>ss.*</> would be treated as <literal>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. </para> </listitem> <listitem> <para> - Reduce memory consumption of aggregates on arrays (Tom) + Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus) + </para> + + <para> + This bug led to the often-reported <quote>could not reattach + to shared memory</> error message. </para> </listitem> <listitem> <para> - Properly show fractional seconds and milliseconds for - <function>EXTRACT()</> (Tom) + Fix locale handling with plperl (Heikki) + </para> + + <para> + This bug could cause the server's locale setting to change when a + plperl function is called, leading to data corruption. </para> </listitem> <listitem> <para> - Fix case where <application>pg_ctl</> fast shutdown was not - working if <application>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) </para> </listitem> <listitem> <para> - Fix rare recovery error related to the creation of WAL entries (Tom) + Ensure that a <quote>fast shutdown</> request will forcibly terminate + open sessions, even if a <quote>smart shutdown</> was already in progress + (Fujii Masao) </para> </listitem> <listitem> <para> - Re-add documentation for configure flag <literal>--no-readline</> (Andrew) + Avoid memory leak for <function>array_agg()</> in <literal>GROUP BY</> + queries (Tom) </para> </listitem> <listitem> <para> - Fix problem where Win32 shared memory allocation sometimes failed on - startup (Tsutomu Yamada, Magnus) + Treat <function>to_char(..., 'TH')</> as an uppercase ordinal + suffix with <literal>'HH'</>/<literal>'HH12'</> (Heikki) </para> <para> - This bug caused some Win32 backends to randomly not start. + It was previously handled as <literal>'th'</> (lowercase). </para> </listitem> <listitem> <para> - Improve performance when processing TOAST rows (Tom) + Include the fractional part in the result of + <function>EXTRACT(second)</> and + <function>EXTRACT(milliseconds)</> for + <type>time</> and <type>time with time zone</> inputs (Tom) </para> <para> - This is particularly useful for <ulink - url="http://postgis.refractions.net/">PostGIS</ulink>. + This has always worked for floating-point datetime configurations, + but was broken in the integer datetime code. + </para> + </listitem> + + <listitem> + <para> + Fix overflow for <literal>INTERVAL '<replaceable>x</> ms'</literal> + when <replaceable>x</> is more than 2 million and integer + datetimes are in use (Alex Hunsaker) </para> </listitem> <listitem> <para> - Fix problem where expired rows could appear visible after a crash (Tom) + Improve performance when processing toasted values in index scans (Tom) </para> <para> - This bug involved a page status bit potentially not being set - correctly after a server crash. + This is particularly useful for <ulink + url="http://postgis.refractions.net/">PostGIS</ulink>. + </para> + </listitem> + + <listitem> + <para> + Fix a typo that disabled <varname>commit_delay</> (Jeff Janes) </para> </listitem> <listitem> <para> - Output configuration file errors to <filename>postmaster.log</> if the + Output early-startup messages to <filename>postmaster.log</> if the server is started in silent mode (Tom) </para> @@ -173,6 +230,71 @@ </para> </listitem> + <listitem> + <para> + Remove translated FAQs (Peter) + </para> + + <para> + They are now on the <ulink + url="http://wiki.postgresql.org/wiki/FAQ">wiki</ulink>. The + main FAQ was moved to the wiki some time ago. + </para> + </listitem> + + <listitem> + <para> + Fix <application>pg_ctl</> to not go into an infinite loop if + <filename>postgresql.conf</> is empty (Jeff Davis) + </para> + </listitem> + + <listitem> + <para> + Fix several errors in <application>pg_dump</>'s + <literal>--binary-upgrade</> mode (Bruce, Tom) + </para> + + <para> + <literal>pg_dump --binary-upgrade</> is used by pg_migrator. + </para> + </listitem> + + <listitem> + <para> + Fix <filename>contrib/xml2</>'s <function>xslt_process()</> to + properly handle the maximum number of parameters (twenty) (Tom) + </para> + </listitem> + + <listitem> + <para> + Improve robustness of <application>libpq</>'s code to recover + from errors during <command>COPY FROM STDIN</> (Tom) + </para> + </listitem> + + <listitem> + <para> + Avoid including conflicting readline and editline header files + when both libraries are installed (Zdenek Kotala) + </para> + </listitem> + + <listitem> + <para> + Work around gcc bug that causes <quote>floating-point exception</> + instead of <quote>division by zero</> on some platforms (Tom) + </para> + </listitem> + + <listitem> + <para> + Update time zone data files to <application>tzdata</> release 2009l + for DST law changes in Bangladesh, Egypt, Mauritius. + </para> + </listitem> + </itemizedlist> </sect2> -- GitLab