Greg Stark <gsstark@mit.edu> writes:
> So two identifiers match if either is an unquoted identifier and they match
> case insensitively. Or if both are quoted and they match case sensitively.
Which part of "adhere to the standard" are you failing to get? The
standard is 100% clear about what it means by case folding, and the
above is not it.
regards, tom lane