mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03: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
|
#ifdef WIN32
|
||||||
_dosmaperr(GetLastError());
|
_dosmaperr(GetLastError());
|
||||||
#endif
|
#endif
|
||||||
return strdup(strerror(errNum));
|
return pg_strdup(strerror(errNum));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user