From: Tom Lane Date: Fri, 15 Sep 2006 21:35:30 +0000 (+0000) Subject: Fix some uses of str[n]casecmp that should be pg_str[n]casecmp. X-Git-Tag: REL8_2_BETA1~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aab964b3115b209b6c19872d820979fd6a3b286f;p=postgresql Fix some uses of str[n]casecmp that should be pg_str[n]casecmp. --- diff --git a/contrib/hstore/hstore_io.c b/contrib/hstore/hstore_io.c index 1faecadf6e..b905ff7f3d 100644 --- a/contrib/hstore/hstore_io.c +++ b/contrib/hstore/hstore_io.c @@ -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;