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

Commit d290363

Browse files
committed
Join in the fun of editorializing on the alpha release notes.
1 parent 1b612df commit d290363

File tree

1 file changed

+67
-54
lines changed

1 file changed

+67
-54
lines changed

doc/src/sgml/release-8.5.sgml

Lines changed: 67 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.5.sgml,v 1.11 2009/12/19 00:05:27 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-8.5.sgml,v 1.12 2009/12/19 02:38:54 tgl Exp $ -->
22

33
<sect1 id="release-8-5">
44
<title>Release 8.5alpha3</title>
@@ -55,10 +55,10 @@
5555
<sect2>
5656
<title>Testing</title>
5757
<para>
58-
The primary reason we release alphas is to get users to test new
58+
The primary reason we release alphas is to get users to test new
5959
features as early as possible. If you are interested in helping
60-
with organized testing, please see
61-
<ulink url="http://wiki.postgresql.org/wiki/HowToBetaTest">the
60+
with organized testing, please see
61+
<ulink url="http://wiki.postgresql.org/wiki/HowToBetaTest">the
6262
testing information page</ulink>.
6363
</para>
6464
</sect2>
@@ -77,16 +77,16 @@
7777
<listitem>
7878
<para>
7979
<emphasis>Performance and behavioral improvements in UPDATE,
80-
DELETE, and SELECT FOR UPDATE/SHARE queries with
81-
joins. Various corner-cases could result in duplicated output
80+
DELETE, and SELECT FOR UPDATE/SHARE queries with joins.
81+
Fix various corner cases that could have resulted in duplicated output
8282
rows. Set-returning functions are now prohibited in the
8383
target list of SELECT FOR UPDATE/SHARE. FOR UPDATE does not
8484
propagate into a WITH query anymore.</emphasis>
8585
</para>
8686
</listitem>
8787
<listitem>
8888
<para>
89-
<emphasis>Fixed for SELECT FOR UPDATE/SHARE in conjuction with LIMIT.
89+
<emphasis>Fix SELECT FOR UPDATE/SHARE in conjunction with LIMIT.
9090
Previously, it could return fewer rows than the limit specified.</emphasis>
9191
</para>
9292
</listitem>
@@ -122,7 +122,7 @@
122122
</para>
123123
<para>
124124
<emphasis>Behavioral change: formerly, agg(DISTINCT x) dropped null values of
125-
x unconditionally. Now, it does so only if the agg transition
125+
x unconditionally. Now, it does so only if the aggregate's transition
126126
function is strict; otherwise nulls are treated as DISTINCT
127127
normally would, i.e., you get one copy.</emphasis>
128128
</para>
@@ -214,12 +214,13 @@
214214
<itemizedlist>
215215
<listitem>
216216
<para>
217-
<emphasis>Allow rewriting ALTER TABLE to skip WAL logging.</emphasis>
217+
<emphasis>Allow rewriting forms of ALTER TABLE to skip WAL
218+
logging.</emphasis>
218219
</para>
219220
</listitem>
220221
<listitem>
221222
<para>
222-
<emphasis>Speed up information schema privilege views.</emphasis>
223+
<emphasis>Speed up INFORMATION_SCHEMA's privilege views.</emphasis>
223224
</para>
224225
</listitem>
225226
<listitem>
@@ -324,12 +325,6 @@
324325
interruptions.</emphasis>
325326
</para>
326327
</listitem>
327-
<listitem>
328-
<para>
329-
<emphasis>Error when a specified connection service is not found in
330-
pg_service.conf, instead of ignoring it.</emphasis>
331-
</para>
332-
</listitem>
333328
<listitem>
334329
<para>
335330
<emphasis>Add YAML to list of EXPLAIN formats.</emphasis>
@@ -474,7 +469,7 @@
474469
<emphasis>Teach the regular expression functions to do case-insensitive
475470
matching and locale-dependent character classification properly
476471
when the database encoding is UTF8. This previously only worked
477-
correct for single-byte encodings and is still broken for other
472+
correctly for single-byte encodings. It is still broken for other
478473
multibyte encodings.</emphasis>
479474
</para>
480475
</listitem>
@@ -583,6 +578,23 @@
583578
</listitem>
584579
</itemizedlist>
585580
</sect3>
581+
<sect3>
582+
<title>libpq</title>
583+
<itemizedlist>
584+
<listitem>
585+
<para>
586+
<emphasis>Throw error when a specified connection service name is not
587+
found in pg_service.conf, instead of ignoring it.</emphasis>
588+
</para>
589+
</listitem>
590+
<listitem>
591+
<para>
592+
Make libpq reject non-numeric and out-of-range port numbers with a
593+
suitable error message.
594+
</para>
595+
</listitem>
596+
</itemizedlist>
597+
</sect3>
586598
<sect3>
587599
<title>psql</title>
588600
<itemizedlist>
@@ -666,19 +678,31 @@
666678
go, ie, a place where a column value or parameter would be legal,
667679
instead of the former behavior that would replace any textual match
668680
including table names and column aliases (leading to syntax errors
669-
later on). PL/pgSQL variable names that match fully-reserved words
670-
will now need to be quoted. On the other hand, a number of
671-
PL/pgSQL-specific words were de-reserved.</emphasis>
681+
later on).</emphasis>
672682
</para>
673683
<para>
674-
<emphasis>The variable resolution behavior is by default not backward
675-
compatible, but can be configured; see documentation.</emphasis>
684+
<emphasis>When a name could refer either to a PL/pgSQL variable or a
685+
table column, PL/pgSQL formerly always assumed the variable was
686+
meant, sometimes resulting in surprising behavior. Now, PL/pgSQL
687+
can assume the variable is meant, or assume the table column is
688+
meant, or throw an error in ambiguous cases. For safety the default
689+
is to throw error. To configure this see <xref
690+
linkend="plpgsql-var-subst">.</emphasis>
676691
</para>
677692
<para>
678-
<emphasis>Error reporting is much nicer and accurate.</emphasis>
693+
<emphasis>Error reporting is much nicer: it no longer shows edited
694+
versions of statements that look significantly different from what
695+
you wrote.</emphasis>
679696
</para>
680697
<para>
681-
<emphasis>The argument of WHERE CURRENT OF can be a PL/pgSQL cursor variable.</emphasis>
698+
<emphasis>Note that this change affects the set of keywords that are
699+
reserved in PL/pgSQL (i.e., cannot be the name of a PL/pgSQL
700+
variable). Now, all keywords shown as reserved in <xref
701+
linkend="sql-keywords-appendix"> are reserved for PL/pgSQL purposes
702+
as well. However, many PL/pgSQL-only keywords that were formerly
703+
treated as reserved no longer are. As in regular SQL, you can
704+
double-quote a variable's name if you want to use a name that
705+
conflicts with a reserved keyword.</emphasis>
682706
</para>
683707
</listitem>
684708
<listitem>
@@ -694,9 +718,9 @@
694718
</listitem>
695719
<listitem>
696720
<para>
697-
<emphasis>Python 3 support in PL/Python; behaves more or less unchanged
698-
compared to Python 2, but the new language variant is called
699-
plpython3u.</emphasis>
721+
<emphasis>Add Python 3 support to PL/Python. It behaves more or less
722+
unchanged compared to Python 2, but the new language variant is
723+
called plpython3u.</emphasis>
700724
</para>
701725
</listitem>
702726
<listitem>
@@ -749,7 +773,7 @@
749773
</listitem>
750774
<listitem>
751775
<para>
752-
Allow cursor commands MOVE FORWARD n, MOVE BACKWARD n,
776+
Allow cursor commands MOVE FORWARD n, MOVE BACKWARD n,
753777
MOVE FORWARD ALL, MOVE BACKWARD ALL in PL/pgSQL.
754778
</para>
755779
</listitem>
@@ -780,8 +804,8 @@
780804
<emphasis>Add \shell and \setshell meta commands to pgbench.</emphasis>
781805
</para>
782806
<para>
783-
<emphasis>\shell command runs an external shell command. \setshell also does
784-
the same and sets the result to a variable.</emphasis>
807+
<emphasis>\shell runs an external shell command. \setshell
808+
does the same and assigns the result to a variable.</emphasis>
785809
</para>
786810
</listitem>
787811
<listitem>
@@ -818,7 +842,7 @@
818842
</itemizedlist>
819843
</sect3>
820844
<sect3>
821-
<title>Development</title>
845+
<title>ecpg</title>
822846
<itemizedlist>
823847
<listitem>
824848
<para>
@@ -842,23 +866,6 @@
842866
Make ECPG more robust against applications freeing strings.
843867
</para>
844868
</listitem>
845-
<listitem>
846-
<para>
847-
Make libpq reject non-numeric and out-of-range port numbers with a
848-
suitable error message.
849-
</para>
850-
</listitem>
851-
<listitem>
852-
<para>
853-
Functions which conflict with C++ reserved words have been renamed,
854-
making backend header files now safe to use with C++ libraries.
855-
</para>
856-
</listitem>
857-
<listitem>
858-
<para>
859-
Add man pages for SPI functions.
860-
</para>
861-
</listitem>
862869
<listitem>
863870
<para>
864871
ECPG now includes a STRING datatype for Informix compatibility
@@ -934,15 +941,21 @@
934941
<para>
935942
Derived files that are shipped in the distribution used to be
936943
built in the source directory even for out-of-tree
937-
builds. They are now also built in the build tree. This
944+
builds. They are now built in the build tree. This
938945
should be more convenient for certain developers' workflows.
939946
</para>
940947
</listitem>
941-
<listitem>
942-
<para>
943-
Translations were updated.
944-
</para>
945-
</listitem>
948+
<listitem>
949+
<para>
950+
Functions which conflict with C++ reserved words have been renamed,
951+
making backend header files now safe to use with C++ libraries.
952+
</para>
953+
</listitem>
954+
<listitem>
955+
<para>
956+
Add man pages for SPI functions.
957+
</para>
958+
</listitem>
946959
<listitem>
947960
<para>
948961
Upgrade to Autoconf 2.63 (not relevant to users of distribution

0 commit comments

Comments
 (0)