Skip to content

Commit 6b43fdd

Browse files
committed
In pg_upgrade, use pg_strudup(), for consistency.
1 parent 463f262 commit 6b43fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_upgrade/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ getErrorText(int errNum)
230230
#ifdef WIN32
231231
_dosmaperr(GetLastError());
232232
#endif
233-
return strdup(strerror(errNum));
233+
return pg_strdup(strerror(errNum));
234234
}
235235

236236

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy