Remove arithmetic operators on the 1-byte-char datatype, as per proposals
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/release.sgml | modified | +21 −1 |
| src/backend/utils/adt/char.c | modified | +20 −29 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_cast.h | modified | +4 −1 |
| src/include/catalog/pg_operator.h | modified | +1 −6 |
| src/include/catalog/pg_proc.h | modified | +5 −9 |
| src/include/utils/builtins.h | modified | +3 −5 |