Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ee214def
Commit
ee214def
authored
Nov 15, 2007
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more detail for non-TEXT cast release item.
parent
166f67ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
13 deletions
+37
-13
doc/src/sgml/release.sgml
doc/src/sgml/release.sgml
+37
-13
No files found.
doc/src/sgml/release.sgml
View file @
ee214def
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.53
8 2007/11/15 17:09:40
momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.53
9 2007/11/15 20:10:32
momjian Exp $ -->
<!--
Typical markup:
...
...
@@ -250,17 +250,42 @@ do it for earlier branch release files.
<listitem>
<para>
Queries that previously automatically cast values to
<type>TEXT</type> might now need explicit casts (Peter, Tom)
Non-character values are no longer automatically cast to
<type>TEXT</> (Peter, Tom)
</para>
<para>
Previously, a function or operator that took a <type>TEXT</>
parameter used to automatically cast a non-<type>TEXT</> value to
<type>TEXT</> and call the function or operator (assuming there was
no other matching function or operator). That no longer happens
and an explicit cast to <type>TEXT</> is now required. For example,
these expressions now throw an error:
<programlisting>
substr(current_date, 1, 1);
23 LIKE '%2%'
5.4 ~ '6';
</programlisting>
but these work because of the explicit casts:
<programlisting>
substr(current_date::text, 1, 1);
23::text LIKE '%2%
5.4::text ~ '6';
</programlisting>
</para>
<para>
<type>CHAR</> and <type>VARCHAR</> still cast to <type>TEXT</>
automatically. Concatenation (<literal>||</>) with non-<type>TEXT</>
types is still automatically cast, assuming one of the parameters
is textual. While this change will require additional casts for
some queries, it also eliminates some unusual behavior.
</para>
<para>
Data types other than <type>CHAR</> and <type>VARCHAR</> no
longer automatically cast to <type>TEXT</>, except in the
limited case of concatenation (<literal>||</>) where the other
input is textual. While this change will require additional
casts for some queries it also eliminates some unusual
behavior.
</para>
</listitem>
...
...
@@ -1035,10 +1060,9 @@ do it for earlier branch release files.
</para>
<para>
This features was previously in <filename>contrib/tsearch2</>. It
has been improved, moved into the server, and is now installed by
default. <filename>contrib/tsearch2</> now contains a compatibility
interface.
Text search has been improved, moved into the server, and is now
installed by default. <filename>contrib/tsearch2</> now contains
a compatibility interface.
</para>
</listitem>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment