]> granicus.if.org Git - postgresql/commitdiff
Fix some uses of str[n]casecmp that should be pg_str[n]casecmp.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Sep 2006 21:35:30 +0000 (21:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Sep 2006 21:35:30 +0000 (21:35 +0000)
contrib/hstore/hstore_io.c

index 1faecadf6ec498fd0f08bd14a46aa2edc50d4682..b905ff7f3d5ba94285ea4e799c9710a8f7c1a9af 100644 (file)
@@ -166,7 +166,7 @@ parse_hstore( HSParser *state ) {
                        state->pairs[ state->pcur ].needfree = true;
                        if ( state->cur - state->word == 4 && !escaped) {
                                state->word[4] = '\0';
-                               if ( 0==strcasecmp(state->word, "null") ) 
+                               if ( 0==pg_strcasecmp(state->word, "null") ) 
                                        state->pairs[ state->pcur ].isnull=true;
                        } 
                        state->word=NULL;