From aab964b3115b209b6c19872d820979fd6a3b286f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 15 Sep 2006 21:35:30 +0000 Subject: [PATCH] Fix some uses of str[n]casecmp that should be pg_str[n]casecmp. --- contrib/hstore/hstore_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;