Re: [BUGS] ascii() picks up sign bit past CHAR value 127

2001-01-18 Thread Tom Lane
[EMAIL PROTECTED] writes: > The lack of an UNISIGNED INT1 attribute type forces those of us who > need a positive numeric byte type to use CHAR. The ascii() function > ostensibly returns the numeric ASCII value of the corresponding CHAR > attribute value - but once you get beyond the 0-127 ACCII

[BUGS] ascii() picks up sign bit past CHAR value 127

2001-01-18 Thread pgsql-bugs
ascii() returns negative ASCII values? ([EMAIL PROTECTED]) reports a bug with a severity of 4 The lower the number the more severe it is. Short Description ascii() picks up sign bit past CHAR value 127 Long Description The lack of an UNISIGNED INT1 attribute type forces those of us who need a