11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.366 2005/09/11 23:40:33 neilc Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.367 2005/09/12 05:10:12 neilc Exp $
33
44Typical markup:
55
@@ -221,7 +221,7 @@ pg_[A-Za-z0-9_] <application>
221221 </sect2>
222222
223223 <sect2>
224- <title>Migration to 8.1</title>
224+ <title>Migration toversion 8.1</title>
225225
226226 <para>
227227 A dump/restore using <application>pg_dump</application> is required
@@ -401,7 +401,7 @@ pg_[A-Za-z0-9_] <application>
401401 <sect3>
402402 <title>Performance Improvements</title>
403403 <itemizedlist>
404-
404+
405405 <listitem>
406406 <para>
407407 Improve GiST and rtree index performance (Neil)
@@ -454,7 +454,7 @@ pg_[A-Za-z0-9_] <application>
454454 <command>SELECT INTO</> (Simon)
455455 </para>
456456 <para>
457- Since a crash during <command>CREATE TABLE</> would cause the
457+ Since a crash during <command>CREATE TABLE AS </> would cause the
458458 table to be dropped during recovery, there is no reason to WAL
459459 log as the table is loaded. (Logging still happens if WAL
460460 archiving is enabled, however.)
@@ -518,7 +518,15 @@ pg_[A-Za-z0-9_] <application>
518518 larger chunks, rather than character by character.
519519 </para>
520520 </listitem>
521-
521+
522+ <listitem>
523+ <para>
524+ Improve the performance of <function>COUNT()</function>,
525+ <function>SUM</function>, <function>AVG()</function>,
526+ <function>STDDEV()</function>, and
527+ <function>VARIANCE()</function> (Neil, Tom)
528+ </para>
529+ </listitem>
522530 </itemizedlist>
523531 </sect3>
524532
@@ -1335,6 +1343,12 @@ pg_[A-Za-z0-9_] <application>
13351343 </para>
13361344 </listitem>
13371345
1346+ <listitem>
1347+ <para>
1348+ Add <function>SPI_getnspname()</function> to SPI (Neil)
1349+ </para>
1350+ </listitem>
1351+
13381352 </itemizedlist>
13391353 </sect3>
13401354
@@ -1344,11 +1358,11 @@ pg_[A-Za-z0-9_] <application>
13441358
13451359 <listitem>
13461360 <para>
1347- Reduce memoryusage of PL/PgSQL functions (Neil)
1361+ Overhaul the memorymanagement of PL/PgSQL functions (Neil)
13481362 </para>
13491363 <para>
13501364 The parsetree of each function is now stored in a separate
1351- memory context. This allowsthe memory to be easily reclaimed
1365+ memory context. This allowsthis memory to be easily reclaimed
13521366 when it is no longer needed.
13531367 </para>
13541368 </listitem>
@@ -1379,14 +1393,15 @@ pg_[A-Za-z0-9_] <application>
13791393 <para>
13801394 This is a byproduct of the newly added <command>OUT</> and
13811395 <command>INOUT</> functionality. <command>RETURN</> can
1382- be omitted when it is not needed to provide the function result.
1396+ be omitted when it is not needed to provide the function's
1397+ return value.
13831398 </para>
13841399 </listitem>
13851400
13861401 <listitem>
13871402 <para>
13881403 Add support for an optional <command>INTO</> clause to
1389- PL/PgSQL's <command>EXECUTE</>command (Pavel Stehule, Neil)
1404+ PL/PgSQL's <command>EXECUTE</>statement (Pavel Stehule, Neil)
13901405 </para>
13911406 </listitem>
13921407
@@ -1403,7 +1418,7 @@ pg_[A-Za-z0-9_] <application>
14031418 exception (Pavel Stehule, Neil)
14041419 </para>
14051420 <para>
1406- These variables are onlyaccessible inside exception blocks.
1421+ These variables are onlydefined inside exception blocks.
14071422 </para>
14081423 </listitem>
14091424
@@ -1668,6 +1683,13 @@ pg_[A-Za-z0-9_] <application>
16681683 </para>
16691684 </listitem>
16701685
1686+ <listitem>
1687+ <para>
1688+ Make <application>libpq</application> consistently return an error
1689+ to the client application on <function>malloc()</function>
1690+ failure (Neil)
1691+ </para>
1692+ </listitem>
16711693 </itemizedlist>
16721694 </sect3>
16731695
@@ -1730,7 +1752,7 @@ pg_[A-Za-z0-9_] <application>
17301752 Remove support for Kerberos V4 (Magnus)
17311753 </para>
17321754 <para>
1733- Kerberos 4 had security vulnerabilities and is no longer being
1755+ Kerberos 4 had security vulnerabilities and is no longer
17341756 maintained.
17351757 </para>
17361758 </listitem>
@@ -1770,10 +1792,39 @@ pg_[A-Za-z0-9_] <application>
17701792 </para>
17711793 </listitem>
17721794
1795+ <listitem>
1796+ <para>
1797+ Move private declarations from <filename>gist.h</filename> to
1798+ <filename>gist_private.h</filename> (Neil)
1799+ </para>
1800+
1801+ <para>
1802+ In previous releases, <filename>gist.h</> contained both the
1803+ public GiST API (intended for use by authors of GiST index
1804+ implementations) as well as some private declarations used by
1805+ the implementation of GiST itself. The latter have been moved
1806+ to a separate file, <filename>gist_private.h</>. Most GiST
1807+ index implementations should be unaffected.
1808+ </para>
1809+ </listitem>
1810+
1811+ <listitem>
1812+ <para>
1813+ Overhaul GiST memory management (Neil)
1814+ </para>
1815+
1816+ <para>
1817+ GiST methods are now always invoked in a short-lived memory
1818+ context. Therefore, memory allocated via <function>palloc()</>
1819+ will be reclaimed automatically, so GiST index implementations
1820+ do not need to manually release allocated memory via
1821+ <function>pfree()</>.
1822+ </para>
1823+ </listitem>
17731824 </itemizedlist>
17741825 </sect3>
1775-
1776-
1826+
1827+
17771828 <sect3>
17781829 <title>Contrib Changes</title>
17791830 <itemizedlist>
@@ -1858,7 +1909,7 @@ pg_[A-Za-z0-9_] <application>
18581909 Take build parameters (OpenSSL, zlib) from <filename>configure</> result
18591910 </para>
18601911 <para>
1861- No need to edit the <filename>Makefile</> anymore.
1912+ There is no need to edit the <filename>Makefile</> anymore.
18621913 </para>
18631914 </listitem>
18641915