Actually, there's no need to use pg_strcasecmp for checking exception

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

Commit: 9aa30e7109b83aa8475746b59e6336d9f5e260b8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-02T17:03:48Z
Releases: 8.0.0
Actually, there's no need to use pg_strcasecmp for checking exception
names, because the name we got from the lexer is already downcased.
Just store the table in lower case and use strcmp ...

Files

PathChange+/−
src/pl/plpgsql/src/plerrcodes.h modified +177 −177
src/pl/plpgsql/src/pl_exec.c modified +3 −3