mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 08:56:52 +02:00
Simplify TEXT cast working; spelling fixes to release notes.
This commit is contained in:
parent
6f4cfe48ac
commit
fbab505216
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.542 2007/11/16 17:22:21 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.543 2007/11/17 15:17:16 momjian Exp $ -->
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
Typical markup:
|
Typical markup:
|
||||||
@ -26,7 +26,7 @@ non-ASCII characters convert to HTML4 entity (&) escapes
|
|||||||
wrap long lines
|
wrap long lines
|
||||||
|
|
||||||
For new features, add links to the documentation sections. Use </link>
|
For new features, add links to the documentation sections. Use </link>
|
||||||
so that perl can remove it so HISTORY.html can be created with no
|
so that Perl can remove it so HISTORY.html can be created with no
|
||||||
links to the main documentation. This was added only in 8.2, so don't
|
links to the main documentation. This was added only in 8.2, so don't
|
||||||
do it for earlier branch release files.
|
do it for earlier branch release files.
|
||||||
|
|
||||||
@ -257,10 +257,9 @@ do it for earlier branch release files.
|
|||||||
<para>
|
<para>
|
||||||
Previously, a function or operator that took a <type>TEXT</>
|
Previously, a function or operator that took a <type>TEXT</>
|
||||||
parameter used to automatically cast a non-<type>TEXT</> value to
|
parameter used to automatically cast a non-<type>TEXT</> value to
|
||||||
<type>TEXT</> and call the function or operator (assuming there was
|
<type>TEXT</> and call the function or operator, if needed. This
|
||||||
no other matching function or operator). That no longer happens
|
no longer happens and an explicit cast to <type>TEXT</> is now
|
||||||
and an explicit cast to <type>TEXT</> is now required. For example,
|
required. For example, these expressions now throw an error:
|
||||||
these expressions now throw an error:
|
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
substr(current_date, 1, 1);
|
substr(current_date, 1, 1);
|
||||||
@ -281,8 +280,7 @@ substr(current_date::text, 1, 1);
|
|||||||
<type>CHAR</> and <type>VARCHAR</> still cast to <type>TEXT</>
|
<type>CHAR</> and <type>VARCHAR</> still cast to <type>TEXT</>
|
||||||
automatically. Concatenation (<literal>||</>) with non-<type>TEXT</>
|
automatically. Concatenation (<literal>||</>) with non-<type>TEXT</>
|
||||||
types is still automatically cast, assuming one of the parameters
|
types is still automatically cast, assuming one of the parameters
|
||||||
is textual. While this change will require additional casts for
|
is textual. This change was made to reduce unexpected behavior.
|
||||||
some queries, it also eliminates some unusual behavior.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -497,7 +495,7 @@ substr(current_date::text, 1, 1);
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<command>ROLLBACK</> outside a mult-statement transaction now
|
<command>ROLLBACK</> outside a multi-statement transaction now
|
||||||
issues a <literal>NOTICE</> instead of <literal>WARNING</> (Bruce)
|
issues a <literal>NOTICE</> instead of <literal>WARNING</> (Bruce)
|
||||||
(Tom)
|
(Tom)
|
||||||
</para>
|
</para>
|
||||||
@ -1087,7 +1085,7 @@ substr(current_date::text, 1, 1);
|
|||||||
<literal>ASC</>/<literal>DESC</> specifiers could not fully use
|
<literal>ASC</>/<literal>DESC</> specifiers could not fully use
|
||||||
an index. Now an index can be fully used in such cases if the
|
an index. Now an index can be fully used in such cases if the
|
||||||
index was created with matching
|
index was created with matching
|
||||||
<literal>ASC</>/<literal>DESC</> specifictions.
|
<literal>ASC</>/<literal>DESC</> specifications.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user