mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
In pg_upgrade, use pg_strudup(), for consistency.
This commit is contained in:
parent
463f2625a5
commit
6b43fddee4
@ -230,7 +230,7 @@ getErrorText(int errNum)
|
||||
#ifdef WIN32
|
||||
_dosmaperr(GetLastError());
|
||||
#endif
|
||||
return strdup(strerror(errNum));
|
||||
return pg_strdup(strerror(errNum));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user