diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-04 22:49:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-04 22:49:59 +0000 |
commit | 6c61af665466131e8c96106837eaf293a472b682 (patch) | |
tree | c1c1aa0f78a78e66c3f427d5f42b3663a83c85f7 /doc/src | |
parent | 1ab415596d1de61561d0de8fe9da4aea207adca4 (diff) | |
download | postgresql-6c61af665466131e8c96106837eaf293a472b682.tar.gz postgresql-6c61af665466131e8c96106837eaf293a472b682.zip |
Remove arithmetic operators on the 1-byte-char datatype, as per proposals
made several times in the past. Add coercion functions between "char"
and integer so that a workaround is possible if needed.
Initdb forced.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/release.sgml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index 20ea24d3f0f..66ae275c338 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.299 2004/10/04 14:42:46 tgl Exp $ +$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.300 2004/10/04 22:49:47 tgl Exp $ --> <appendix id="release"> @@ -265,6 +265,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.299 2004/10/04 14:42:46 tgl Exp <listitem> <para> + The arithmetic operators associated with the <quote>char</> data type + have been removed. + </para> + </listitem> + + <listitem> + <para> The server now warns of empty strings passed to <type>oid</type>/<type>float4</type>/<type>float8</type> data types. In the next major release, doing this will generate an @@ -1241,6 +1248,19 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.299 2004/10/04 14:42:46 tgl Exp </para> </listitem> + <listitem> + <para> + The arithmetic operators associated with the <quote>char</> data type + have been removed. + </para> + <para> + Formerly, the parser would select these operators in many situations + where an <quote>unable to select an operator</> error would be more + appropriate, such as <literal>null * null</>. If you actually want + to do arithmetic on a <quote>char</> column, you can cast it to integer. + </para> + </listitem> + <listitem> <para> Syntax checking of array input values considerably tightened up (Joe) |