7.4.26.
-<!-- $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">
<note>
<title>Release date</title>
- <simpara>2009-09-09, AS OF 2009-08-26</simpara>
+ <simpara>2009-09-09</simpara>
</note>
<para>
<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>
<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>
-<!-- $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">
<note>
<title>Release date</title>
- <simpara>2009-09-09, AS OF 2009-08-26</simpara>
+ <simpara>2009-09-09</simpara>
</note>
<para>
<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>
<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
<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>
-<!-- $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">
<note>
<title>Release date</title>
- <simpara>2009-09-09, AS OF 2009-08-26</simpara>
+ <simpara>2009-09-09</simpara>
</note>
<para>
<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>
<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
<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>
-<!-- $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">
<note>
<title>Release date</title>
- <simpara>2009-09-09, AS OF 2009-08-26</simpara>
+ <simpara>2009-09-09</simpara>
</note>
<para>
<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>
<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
<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>
-<!-- $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">
<note>
<title>Release date</title>
- <simpara>2009-09-09, AS OF 2009-08-26</simpara>
+ <simpara>2009-09-09</simpara>
</note>
<para>
<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>
<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
<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>
-<!-- $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">
<note>
<title>Release date</title>
- <simpara>2009-09-09, AS OF 2009-08-26</simpara>
+ <simpara>2009-09-09</simpara>
</note>
<para>
<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>
</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>