Fix unportable usage of <ctype.h> functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Nov 2017 18:49:36 +0000 (13:49 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Nov 2017 18:49:50 +0000 (13:49 -0500)
commite836502d64ba7fc936d8c273125e4ac298773e76
treec83440126f3eef1111b04aea7407d66f24b7d613
parent958fe549884928cd3bdf009993e9a05df5fd6cee
Fix unportable usage of <ctype.h> functions.

isdigit(), isspace(), etc are likely to give surprising results if passed a
signed char.  We should always cast the argument to unsigned char to avoid
that.  Error in commit 63d6b97fd, found by buildfarm member gaur.
Back-patch to 9.3, like that commit.
src/interfaces/ecpg/ecpglib/data.c