Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d908c8e

Browse files
committed
Release updates suggested by Tom.
1 parent bcf4d35 commit d908c8e

File tree

1 file changed

+29
-19
lines changed

1 file changed

+29
-19
lines changed

doc/src/sgml/release.sgml

+29-19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.229 2003/10/31 04:44:25 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.230 2003/10/31 19:24:17 momjian Exp $
33
-->
44

55
<appendix id="release">
@@ -18,19 +18,19 @@ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.229 2003/10/31 04:44:25 mo
1818
In previous releases, IN/NOT IN subqueries were joined to the
1919
upper query by sequentially scanning the subquery looking for
2020
a join. The 7.4 code uses the same sophisticated techniques
21-
used by ordinary joins and so is much faster, and is now faster
22-
than EXISTS subqueries.
21+
used by ordinary joins and so is much faster. An IN
22+
will now usually as fast as or faster than an equivalent EXISTS
23+
subquery; this reverses the conventional wisdom that applied to
24+
previous releases.
2325
</para>
2426
</listitem>
2527

2628
<listitem><para> Improved GROUP BY processing by using hash buckets</para>
2729
<para>
28-
In previous releases, GROUP BY totals were accumulated by
29-
sequentially scanning the list of groups looking for a match;
30-
the 7.4 code places GROUP BY values in hash buckets so the
31-
proper match can be found much quicker. This is particularly
32-
significant in speeding up queries that have a large
33-
number of distinct GROUP BY values.
30+
In previous releases, GROUP BY values were accumulated and sorted
31+
to obtain group-by counts; the 7.4 code places GROUP BY values in
32+
hash buckets so sorting is not required, or reverts to the old
33+
behavior if the group-by buckets will not fit in memory.
3434
</para>
3535
</listitem>
3636

@@ -47,6 +47,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.229 2003/10/31 04:44:25 mo
4747
specified by the query; 7.4 allows full optimization of
4848
queries using ANSI join syntax, meaning the optimizer considers
4949
all possible join orderings and chooses the most efficient.
50+
Outer joins, however, must still follow the declared ordering.
5051
</para>
5152
</listitem>
5253

@@ -72,7 +73,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.229 2003/10/31 04:44:25 mo
7273
<listitem><para> Full support for IPv6 connections and IPv6 address
7374
data types</para>
7475
<para>
75-
Prior releases allowed only IPv6 connections and IP data types only
76+
Prior releases allowed only IPv4 connections and IP data types only
7677
supported IPv4 addresses. This release adds full IPv6 support in
7778
both of these areas.
7879
</para>
@@ -107,9 +108,13 @@ pages, and other free space management improvements.</para>
107108
</para>
108109
</listitem>
109110

110-
<listitem><para> New protocol improves connection speed/reliability,
111-
and adds error codes, status information, a binary protocol, error
112-
reporting verbosity, and cleaner startup packets.</para>
111+
<listitem><para> New client-to-server protocol adds error codes, more status
112+
information, better support for binary data transmission, parameter
113+
values separated from SQL commands, prepared statements available at the
114+
protocol level, clean recovery from COPY failures, and cleaner startup
115+
packets. The older protocol is still supported by both servers and
116+
clients.
117+
</para>
113118
</listitem>
114119

115120
<listitem><para> Allow cursors to exist outside transactions,
@@ -230,6 +235,7 @@ required for those wishing to migrate data from any previous release.</para>
230235
systems.
231236
</para>
232237
</listitem>
238+
<listitem><para>Syntax errors now reported as 'syntax error' rather than 'parse error' (Tom)</para></listitem>
233239
</itemizedlist></para></sect2>
234240

235241
<sect2><title> Server Operation Changes</title>
@@ -358,7 +364,7 @@ required for those wishing to migrate data from any previous release.</para>
358364
</listitem>
359365
<listitem><para>Align shared buffers on 32-byte boundary for copy speed improvement (Manfred Spraul)</para>
360366
<para>
361-
Certain CPU's perform faster data copies when addresses are 32-bit
367+
Certain CPU's perform faster data copies when addresses are 32-byte
362368
aligned.
363369
</para>
364370
</listitem>
@@ -475,17 +481,21 @@ required for those wishing to migrate data from any previous release.</para>
475481
strings.
476482
</para>
477483
</listitem>
478-
<listitem><para>Fix subquery aggregates of upper query columns to match SQL spec. (Tom)</para>
484+
<listitem><para>Fix aggregates in subqueries to match SQL spec (Tom)</para>
479485
<para>
480-
bjm
486+
The SQL spec says that an aggregate function appearing within a nested
487+
subquery belongs to the outer query if its argument contains only
488+
outer-query variables. Prior PG releases did not handle this fine point
489+
correctly.
481490
</para>
482491
</listitem>
483492
<listitem><para>Add option to prevent auto-addition of tables referenced in query (Nigel J.
484493
Andrews) </para>
485494
<para>
486495
By default, tables mentioned in the query are automatically added
487-
to the FROM clause if they are not already there. This option
488-
disabled that behavior.
496+
to the FROM clause if they are not already there. This is compatible with
497+
historic Postgres behavior but is contrary to the SQL spec.
498+
This option allows selecting spec-compatible behavior.
489499
</para>
490500
</listitem>
491501
<listitem><para>Allow UPDATE ... SET col = DEFAULT (Rod)</para>
@@ -634,7 +644,7 @@ required for those wishing to migrate data from any previous release.</para>
634644
the transaction aborts.
635645
</para>
636646
</listitem>
637-
<listitem><para>Multiple pggla_dump fixes, including tar format and large objects</para></listitem>
647+
<listitem><para>Multiple pg_dump fixes, including tar format and large objects</para></listitem>
638648
<listitem><para>Allow pg_dump to dump specific schemas (Neil)</para></listitem>
639649
<listitem><para>Allow pg_dump to preserve column storage characteristics (Christopher)</para>
640650
<para>

0 commit comments

Comments
 (0)