Commit 2f38b986 authored by Tom Lane's avatar Tom Lane

Small 9.6 release note improvements.

Sync release notes through today, and incorporate some suggestions
from Robert Haas.
parent 7a622b27
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<note> <note>
<title>Release Date</title> <title>Release Date</title>
<simpara>2016-??-??</simpara> <simpara>2016-??-??</simpara>
<simpara>Current as of 2016-05-02 (commit 21c2b1c61)</simpara> <simpara>Current as of 2016-05-05 (commit 7a622b273)</simpara>
</note> </note>
<sect2> <sect2>
...@@ -105,15 +105,16 @@ ...@@ -105,15 +105,16 @@
2016-04-27 [59eb55127] Fix EXPLAIN VERBOSE output for parallel aggregate. 2016-04-27 [59eb55127] Fix EXPLAIN VERBOSE output for parallel aggregate.
--> -->
<para> <para>
Parallel queries (Robert Haas, Amit Kapila, many others) Parallel queries (Robert Haas, Amit Kapila, David Rowley, many others)
</para> </para>
<para> <para>
With 9.6, <productname>PostgreSQL</> introduces initial support With 9.6, <productname>PostgreSQL</> introduces initial support for
for parallel execution of large queries. Scans over large tables can parallel execution of large queries. Only strictly read-only queries
be parallelized, as can hash joins and computation of aggregate where the driving table is accessed via a sequential scan can be
functions. Much remains to be done, but this is already a useful set parallelized. Hash joins and nested loops can be performed in
of features. parallel, as can aggregation (for supported aggregates). Much
remains to be done, but this is already a useful set of features.
</para> </para>
<para> <para>
...@@ -124,10 +125,6 @@ ...@@ -124,10 +125,6 @@
<xref linkend="guc-parallel-setup-cost">, and <xref linkend="guc-parallel-setup-cost">, and
<xref linkend="guc-parallel-tuple-cost">. <xref linkend="guc-parallel-tuple-cost">.
</para> </para>
<para>
This section needs to get fleshed out, but by how much?
</para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -317,6 +314,7 @@ ...@@ -317,6 +314,7 @@
2016-04-13 [fa11a09fe] Fix assorted portability issues with using msync() for d 2016-04-13 [fa11a09fe] Fix assorted portability issues with using msync() for d
2016-04-24 [8f91d87d4] Fix documentation & config inconsistencies around 428b1d 2016-04-24 [8f91d87d4] Fix documentation & config inconsistencies around 428b1d
2016-04-26 [72a98a639] Don't open formally non-existent segments in _mdfd_getse 2016-04-26 [72a98a639] Don't open formally non-existent segments in _mdfd_getse
2016-05-04 [a71248708] Fix transient mdsync() errors of truncated relations due
--> -->
<para> <para>
Where feasible, trigger kernel writeback after a configurable number Where feasible, trigger kernel writeback after a configurable number
...@@ -564,11 +562,12 @@ ...@@ -564,11 +562,12 @@
2016-04-08 [719c84c1b] Extend relations multiple blocks at a time to improve sc 2016-04-08 [719c84c1b] Extend relations multiple blocks at a time to improve sc
--> -->
<para> <para>
Extend relations multiple blocks at a time (Dilip Kumar) Extend relations multiple blocks at a time, when there is contention
for the relation's extension lock (Dilip Kumar)
</para> </para>
<para> <para>
This reduces kernel traffic, and improves scalability when multiple This reduces kernel traffic and improves scalability when multiple
processes are inserting into the same relation. processes are inserting into the same relation.
</para> </para>
</listitem> </listitem>
...@@ -1078,7 +1077,7 @@ ...@@ -1078,7 +1077,7 @@
--> -->
<para> <para>
Force backends to exit if the postmaster dies Force backends to exit if the postmaster dies
(Rajeev Rastogi and Robert Haas) (Rajeev Rastogi, Robert Haas)
</para> </para>
<para> <para>
...@@ -1304,8 +1303,8 @@ XXX this is pending backpatch, may need to remove ...@@ -1304,8 +1303,8 @@ XXX this is pending backpatch, may need to remove
2016-01-28 [fbe5a3fb7] Only try to push down foreign joins if the user mapping 2016-01-28 [fbe5a3fb7] Only try to push down foreign joins if the user mapping
--> -->
<para> <para>
Push down joins of foreign tables to the foreign data wrapper only Consider performing joins of foreign tables remotely only when the
when the user mappings match (Shigeru Hanada, Ashutosh Bapat) applicable user mappings match (Shigeru Hanada, Ashutosh Bapat)
</para> </para>
<para> <para>
...@@ -1751,6 +1750,7 @@ XXX this is pending backpatch, may need to remove ...@@ -1751,6 +1750,7 @@ XXX this is pending backpatch, may need to remove
<listitem> <listitem>
<!-- <!--
2015-11-14 [7d9a4737c] Improve type numeric's calculations for ln(), log(), exp 2015-11-14 [7d9a4737c] Improve type numeric's calculations for ln(), log(), exp
2016-05-05 [18a02ad2a] Fix corner-case loss of precision in numeric pow() calcu
--> -->
<para> <para>
Improve the accuracy of the <function>ln()</>, <function>log()</>, Improve the accuracy of the <function>ln()</>, <function>log()</>,
...@@ -1792,7 +1792,7 @@ XXX this is pending backpatch, may need to remove ...@@ -1792,7 +1792,7 @@ XXX this is pending backpatch, may need to remove
--> -->
<para> <para>
Ensure that trigonometric functions handle infinity and NaN inputs per Ensure that trigonometric functions handle infinity and NaN inputs per
spec (Dean Rasheed) the POSIX standard (Dean Rasheed)
</para> </para>
<para> <para>
...@@ -1878,8 +1878,8 @@ XXX this is pending backpatch, may need to remove ...@@ -1878,8 +1878,8 @@ XXX this is pending backpatch, may need to remove
<para> <para>
An example usage is <literal>CHECK(num_nonnulls(a,b,c) = 1)</> which An example usage is <literal>CHECK(num_nonnulls(a,b,c) = 1)</> which
asserts that exactly one of a,b,c isn't NULL. These functions can asserts that exactly one of a,b,c isn't NULL. These functions can
also be pressed into service to count the number of null or nonnull also be used to count the number of null or nonnull elements in an
elements in an array. array.
</para> </para>
</listitem> </listitem>
...@@ -1950,8 +1950,8 @@ XXX this is pending backpatch, may need to remove ...@@ -1950,8 +1950,8 @@ XXX this is pending backpatch, may need to remove
<para> <para>
This function converts strings like those produced This function converts strings like those produced
by <function>pg_size_pretty()</> into sizes in bytes. An example by <function>pg_size_pretty()</> into sizes in bytes. An example
usage is <literal>WHERE pg_total_relation_size(oid) &gt; usage is <literal>SELECT oid::regclass FROM pg_class WHERE
pg_size_bytes('10 GB')</>. pg_total_relation_size(oid) &gt; pg_size_bytes('10 GB')</>.
</para> </para>
</listitem> </listitem>
...@@ -1960,8 +1960,13 @@ XXX this is pending backpatch, may need to remove ...@@ -1960,8 +1960,13 @@ XXX this is pending backpatch, may need to remove
2015-11-06 [8a1fab36a] pg_size_pretty: Format negative values similar to positi 2015-11-06 [8a1fab36a] pg_size_pretty: Format negative values similar to positi
--> -->
<para> <para>
In <function>pg_size_pretty()</>, format negative numbers similarly to In <function>pg_size_pretty()</>, format negative numbers similarly
positive ones (Adrian Vondendriesch) to positive ones (Adrian Vondendriesch)
</para>
<para>
Previously, negative numbers were never abbreviated, just printed
in bytes.
</para> </para>
</listitem> </listitem>
...@@ -1973,6 +1978,11 @@ XXX this is pending backpatch, may need to remove ...@@ -1973,6 +1978,11 @@ XXX this is pending backpatch, may need to remove
Add an optional <replaceable>missing_ok</> argument to Add an optional <replaceable>missing_ok</> argument to
the <function>current_setting()</> function (David Christensen) the <function>current_setting()</> function (David Christensen)
</para> </para>
<para>
This allows avoiding an error for an unrecognized parameter name;
instead the result is NULL.
</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
...@@ -2446,6 +2456,7 @@ This commit is also listed under libpq and PL/pgSQL ...@@ -2446,6 +2456,7 @@ This commit is also listed under libpq and PL/pgSQL
<!-- <!--
2016-03-01 [7e137f846] Extend pgbench's expression syntax to support a few buil 2016-03-01 [7e137f846] Extend pgbench's expression syntax to support a few buil
2016-03-28 [86c43f4e2] pgbench: Support double constants and functions. 2016-03-28 [86c43f4e2] pgbench: Support double constants and functions.
2016-05-05 [7a622b273] Rename pgbench min/max to least/greatest, and fix handli
--> -->
<para> <para>
Support some <link linkend="pgbench-builtin-functions">built-in Support some <link linkend="pgbench-builtin-functions">built-in
...@@ -2572,8 +2583,14 @@ This commit is also listed under libpq and PL/pgSQL ...@@ -2572,8 +2583,14 @@ This commit is also listed under libpq and PL/pgSQL
--> -->
<para> <para>
Improve error reporting during <application>initdb</>'s post-bootstrap Improve error reporting during <application>initdb</>'s post-bootstrap
phase, by not reporting the entire input file as the <quote>failing phase (Tom Lane)
query</> (Tom Lane) </para>
<para>
Previously, an error here led to reporting the entire input file as
the <quote>failing query</>; now just the current query is reported.
To get the desired behavior, queries in <application>initdb</>'s
input files must be separated by blank lines.
</para> </para>
</listitem> </listitem>
...@@ -3211,7 +3228,7 @@ This commit is also listed under libpq and PL/pgSQL ...@@ -3211,7 +3228,7 @@ This commit is also listed under libpq and PL/pgSQL
2016-03-09 [aa09cd242] postgres_fdw: Consider foreign joining and foreign sorti 2016-03-09 [aa09cd242] postgres_fdw: Consider foreign joining and foreign sorti
--> -->
<para> <para>
Push down joins to the remote server when possible (Shigeru Hanada, Consider performing joins on the remote server (Shigeru Hanada,
Ashutosh Bapat) Ashutosh Bapat)
</para> </para>
</listitem> </listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment