]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fixes:
authorMarc G. Fournier <scrappy@hub.org>
Tue, 10 Sep 1996 06:41:38 +0000 (06:41 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 10 Sep 1996 06:41:38 +0000 (06:41 +0000)
commitf2f53aee0f2810a935e0f86b17f8dedba3647da0
treedc0bf697fd1ff373a7b7977d4a95898044e06e4f
parent1ba34d91fcaf58f6e920084f246cae5dfff5468e
Fixes:

The comparison routines for text and char data type give incorrect results
if the input data contains characters greater than 127.  As these routines
perform the comparison using signed char variables all character codes
greater than 127 are interpreted as less than 0.  These codes are used to
encode the iso8859 char sets.
The other text-like data types seem to work as expected as they use unsigned
chars in comparisons.

Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
src/backend/utils/adt/char.c
src/backend/utils/adt/varlena.c