Move server-side languages up one section in the 9.0 release notes.

This commit is contained in:
Bruce Momjian 2010-03-20 14:03:31 +00:00
parent bf6285b3a7
commit 9e6c5f1e74

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.3 2010/03/20 03:30:12 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.4 2010/03/20 14:03:31 momjian Exp $ -->
<sect1 id="release-9-0"> <sect1 id="release-9-0">
@ -1289,259 +1289,259 @@
</sect4> </sect4>
<sect4> </sect3>
<title>Server-Side Languages</title>
<sect3>
<title>Server-Side Languages</title>
<itemizedlist>
<listitem>
<para>
Add the <literal>OR REPLACE</> clause to <command>CREATE
LANGUAGE</> (Tom)
</para>
<para>
This is helpful to optionally install a language if it does not
already exist, and is particularly helpful now that PL/pgSQL is
installed by default.
</para>
</listitem>
</itemizedlist>
<sect4>
<title>PL/PgSQL Server-Side Language</title>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Add the <literal>OR REPLACE</> clause to <command>CREATE Install server-side language PL/pgSQL by default (Bruce)
LANGUAGE</> (Tom)
</para>
<para>
This is helpful to optionally install a language if it does not
already exist, and is particularly helpful now that PL/pgSQL is
installed by default.
</para> </para>
</listitem> </listitem>
</itemizedlist> <listitem>
<para>
Allow PL/pgSQL to handle row types with dropped columns (Pavel Stehule)
</para>
</listitem>
<sect5> <listitem>
<title>PL/PgSQL Server-Side Language</title> <para>
Allow <literal>IN</> parameters to be assigned values within
PL/pgSQL functions (Steve Prentice)
</para>
</listitem>
<itemizedlist> <listitem>
<para>
Improve error location reporting in PL/pgSQL (Tom)
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Install server-side language PL/pgSQL by default (Bruce) Have PL/pgSQL use the main lexer, rather than a custom version (Tom)
</para> </para>
</listitem> </listitem>
<listitem> </itemizedlist>
<para>
Allow PL/pgSQL to handle row types with dropped columns (Pavel Stehule)
</para>
</listitem>
<listitem> </sect4>
<para>
Allow <literal>IN</> parameters to be assigned values within
PL/pgSQL functions (Steve Prentice)
</para>
</listitem>
<listitem> <sect4>
<para> <title>PL/pgSQL Cursors</title>
Improve error location reporting in PL/pgSQL (Tom) <itemizedlist>
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Have PL/pgSQL use the main lexer, rather than a custom version (Tom) Add count and <literal>ALL</> options to <command>MOVE
</para> FORWARD</>/<literal>BACKWARD</> in PL/pgSQL (Pavel Stehule)
</listitem> </para>
</listitem>
</itemizedlist> <listitem>
<para>
Allow PL/pgSQL's <literal>WHERE CURRENT OF</> to use a cursor
variable (Tom)
</para>
</listitem>
</sect5> <listitem>
<para>
Add PL/pgSQL's <command>OPEN cursor FOR EXECUTE</> to use parameters
(Pavel Stehule, Itagaki Takahiro)
</para>
<sect5> <para>
<title>PL/pgSQL Cursors</title> This is accomplished with a new <literal>USING</> clause.
<itemizedlist> </para>
</listitem>
<listitem> </itemizedlist>
<para>
Add count and <literal>ALL</> options to <command>MOVE
FORWARD</>/<literal>BACKWARD</> in PL/pgSQL (Pavel Stehule)
</para>
</listitem>
<listitem> </sect4>
<para>
Allow PL/pgSQL's <literal>WHERE CURRENT OF</> to use a cursor
variable (Tom)
</para>
</listitem>
<listitem> <sect4>
<para> <title>PL/Perl Server-Side Language</title>
Add PL/pgSQL's <command>OPEN cursor FOR EXECUTE</> to use parameters <itemizedlist>
(Pavel Stehule, Itagaki Takahiro)
</para>
<para> <listitem>
This is accomplished with a new <literal>USING</> clause. <para>
</para> Add new PL/Perl functions: <function>quote_literal()</>,
</listitem> <function>quote_nullable()</>, <function>quote_ident()</>,
<function>encode_bytea()</>, <function>decode_bytea()</>,
<function>looks_like_number()</>, <function>encode_array_literal()</>,
<function>encode_array_constructor()</> (Tim Bunce)
</para>
</listitem>
</itemizedlist> <listitem>
<para>
Add server variable <varname>plperl.on_init</> to specify a PL/Perl
Perl initialization function (Tim Bunce)
</para>
</sect5> <para>
<varname>plperl.on_plperl_init</> and <varname>plperl.on_plperlu_init</>
are also available for trusted/untrusted-specific initialization.
</para>
</listitem>
<sect5> <listitem>
<title>PL/Perl Server-Side Language</title> <para>
<itemizedlist> Improve error context support in PL/Perl (Alexey Klyukin)
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Add new PL/Perl functions: <function>quote_literal()</>, Support <command>END</> blocks in PL/Perl (Tim Bunce)
<function>quote_nullable()</>, <function>quote_ident()</>, </para>
<function>encode_bytea()</>, <function>decode_bytea()</>,
<function>looks_like_number()</>, <function>encode_array_literal()</>,
<function>encode_array_constructor()</> (Tim Bunce)
</para>
</listitem>
<listitem> <para>
<para> <command>END</> blocks do not currently allow database access.
Add server variable <varname>plperl.on_init</> to specify a PL/Perl </para>
Perl initialization function (Tim Bunce) </listitem>
</para>
<para> <listitem>
<varname>plperl.on_plperl_init</> and <varname>plperl.on_plperlu_init</> <para>
are also available for trusted/untrusted-specific initialization. Allow <command>use strict</> in PL/Perl (Tim Bunce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Improve error context support in PL/Perl (Alexey Klyukin) Allow <command>require</> in PL/Perl (Tim Bunce)
</para> </para>
</listitem>
<listitem> <para>
<para> This basically tests to see if the module is loaded, and if not,
Support <command>END</> blocks in PL/Perl (Tim Bunce) generates an error.
</para> </para>
</listitem>
<para> <listitem>
<command>END</> blocks do not currently allow database access. <para>
</para> Allow <command>use feature</> in PL/Perl if Perl version 5.10 or
</listitem> later is used (Tim Bunce)
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Allow <command>use strict</> in PL/Perl (Tim Bunce) Verify that PL/Perl return values are valid in the server encoding
</para> (Andrew)
</listitem> </para>
</listitem>
<listitem> <listitem>
<para> <para>
Allow <command>require</> in PL/Perl (Tim Bunce) Improve PL/Perl code structure (Tim Bunce)
</para> </para>
</listitem>
<para> <listitem>
This basically tests to see if the module is loaded, and if not, <para>
generates an error. PL/Perl subroutines are now given names (Tim Bunce)
</para> </para>
</listitem>
<listitem> <para>
<para> This is for the use of profiling and code coverage tools. DIDN'T
Allow <command>use feature</> in PL/Perl if Perl version 5.10 or THEY HAVE NAMES BEFORE?
later is used (Tim Bunce) </para>
</para> </listitem>
</listitem>
<listitem> <listitem>
<para> <para>
Verify that PL/Perl return values are valid in the server encoding PL/Perl no longer allows <application>Safe</> version 2.20 because
(Andrew) it is unsafe (Tim Bunce)
</para> </para>
</listitem> </listitem>
<listitem> </itemizedlist>
<para>
Improve PL/Perl code structure (Tim Bunce)
</para>
</listitem>
<listitem> </sect4>
<para>
PL/Perl subroutines are now given names (Tim Bunce)
</para>
<para> <sect4>
This is for the use of profiling and code coverage tools. DIDN'T <title>PL/Python Server-Side Language</title>
THEY HAVE NAMES BEFORE? <itemizedlist>
</para>
</listitem>
<listitem> <listitem>
<para> <para>
PL/Perl no longer allows <application>Safe</> version 2.20 because Add Unicode support in PL/Python (Peter)
it is unsafe (Tim Bunce) </para>
</para>
</listitem>
</itemizedlist> <para>
Strings are automatically converted from/to the server encoding as
necessary.
</para>
</listitem>
</sect5> <listitem>
<para>
Improve <type>bytea</> support in PL/Python (Caleb Welton)
</para>
<sect5> <para>
<title>PL/Python Server-Side Language</title> <type>Bytea</> values passed into PL/Python now are represented as
<itemizedlist> binary, rather than the Postgres <type>bytea</> text format. Null
bytes are now also output properly from PL/Python. <type>Boolean</>
and <type>numeric</> value passing in PL/Python was also improved.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Add Unicode support in PL/Python (Peter) Add array parameter/return support to PL/Python (Peter)
</para> </para>
</listitem>
<para> <listitem>
Strings are automatically converted from/to the server encoding as <para>
necessary. Improve mapping of domains to Python base types in PL/Python (Peter)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Improve <type>bytea</> support in PL/Python (Caleb Welton) Add <application>Python</> 3 support to PL/Python (Peter)
</para> </para>
<para> <para>
<type>Bytea</> values passed into PL/Python now are represented as The new server-side language is called <literal>plpython3u</>.
binary, rather than the Postgres <type>bytea</> text format. Null </para>
bytes are now also output properly from PL/Python. <type>Boolean</> </listitem>
and <type>numeric</> value passing in PL/Python was also improved.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Add array parameter/return support to PL/Python (Peter) Improve error location and exception reporting in PL/Python (Peter)
</para> </para>
</listitem> </listitem>
<listitem> </itemizedlist>
<para>
Improve mapping of domains to Python base types in PL/Python (Peter)
</para>
</listitem>
<listitem>
<para>
Add <application>Python</> 3 support to PL/Python (Peter)
</para>
<para>
The new server-side language is called <literal>plpython3u</>.
</para>
</listitem>
<listitem>
<para>
Improve error location and exception reporting in PL/Python (Peter)
</para>
</listitem>
</itemizedlist>
</sect5>
</sect4> </sect4>
@ -1552,9 +1552,9 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Add <command>vacuumdb</> <option>--analyze-only</> option to only Add <command>vacuumdb</> <option>--analyze-only</> option to only
analyze (Bruce) analyze (Bruce)
</para> </para>
</listitem> </listitem>