3
3
* procedural language
4
4
*
5
5
* 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 $
7
7
*
8
8
* This software is copyrighted by Jan Wieck - Hamburg.
9
9
*
@@ -806,7 +806,7 @@ exception_matches_conditions(ErrorData *edata, PLpgSQL_condition *cond)
806
806
* OTHERS matches everything *except* query-canceled;
807
807
* if you're foolish enough, you can match that explicitly.
808
808
*/
809
- if (pg_strcasecmp (condname ,"OTHERS " )== 0 )
809
+ if (strcmp (condname ,"others " )== 0 )
810
810
{
811
811
if (edata -> sqlerrcode == ERRCODE_QUERY_CANCELED )
812
812
return false;
@@ -815,7 +815,7 @@ exception_matches_conditions(ErrorData *edata, PLpgSQL_condition *cond)
815
815
}
816
816
for (i = 0 ;exception_label_map [i ].label != NULL ;i ++ )
817
817
{
818
- if (pg_strcasecmp (condname ,exception_label_map [i ].label )== 0 )
818
+ if (strcmp (condname ,exception_label_map [i ].label )== 0 )
819
819
{
820
820
int labelerrcode = exception_label_map [i ].sqlerrstate ;
821
821