Fix some uses of str[n]casecmp that should be pg_str[n]casecmp.

This commit is contained in:
Tom Lane 2006-09-15 21:35:30 +00:00
parent a22de540cf
commit aab964b311
1 changed files with 1 additions and 1 deletions

View 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;