33 * procedural language
44 *
55 * IDENTIFICATION
6- * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.113 2004/08/0201:30:49 tgl Exp $
6+ * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.114 2004/08/0217:03:45 tgl Exp $
77 *
88 * This software is copyrighted by Jan Wieck - Hamburg.
99 *
@@ -806,7 +806,7 @@ exception_matches_conditions(ErrorData *edata, PLpgSQL_condition *cond)
806806 * OTHERS matches everything *except* query-canceled;
807807 * if you're foolish enough, you can match that explicitly.
808808 */
809- if (pg_strcasecmp (condname ,"OTHERS " )== 0 )
809+ if (strcmp (condname ,"others " )== 0 )
810810{
811811if (edata -> sqlerrcode == ERRCODE_QUERY_CANCELED )
812812return false;
@@ -815,7 +815,7 @@ exception_matches_conditions(ErrorData *edata, PLpgSQL_condition *cond)
815815}
816816for (i = 0 ;exception_label_map [i ].label != NULL ;i ++ )
817817{
818- if (pg_strcasecmp (condname ,exception_label_map [i ].label )== 0 )
818+ if (strcmp (condname ,exception_label_map [i ].label )== 0 )
819819{
820820int labelerrcode = exception_label_map [i ].sqlerrstate ;
821821