Fix bugs in plpgsql and ecpg caused by assuming that isspace() would only

Tom Lane <tgl@sss.pgh.pa.us>

Commit: beca984e5f1c315d02064e69861be112f5a69b3d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-09-22T21:39:58Z
Releases: 8.2.0
Fix bugs in plpgsql and ecpg caused by assuming that isspace() would only
return true for exactly the characters treated as whitespace by their flex
scanners.  Per report from Victor Snezhko and subsequent investigation.

Also fix a passel of unsafe usages of <ctype.h> functions, that is, ye olde
char-vs-unsigned-char issue.  I won't miss <ctype.h> when we are finally
able to stop using it.

Files