From: Bruce Momjian Date: Wed, 20 Jul 2011 20:37:17 +0000 (-0400) Subject: In pg_upgrade, use pg_strudup(), for consistency. X-Git-Tag: REL9_2_BETA1~1371 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b43fddee4cbc1bca71546e15e898d19bee7bcb1;p=postgresql In pg_upgrade, use pg_strudup(), for consistency. --- diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c index f6582f5e38..66c6acded0 100644 --- a/contrib/pg_upgrade/util.c +++ b/contrib/pg_upgrade/util.c @@ -230,7 +230,7 @@ getErrorText(int errNum) #ifdef WIN32 _dosmaperr(GetLastError()); #endif - return strdup(strerror(errNum)); + return pg_strdup(strerror(errNum)); }