projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463f262
)
In pg_upgrade, use pg_strudup(), for consistency.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 20 Jul 2011 20:37:17 +0000
(16:37 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 20 Jul 2011 20:37:17 +0000
(16:37 -0400)
contrib/pg_upgrade/util.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/util.c
b/contrib/pg_upgrade/util.c
index f6582f5e3852462c63196217ed3d75ee33a93ab4..66c6acded0f49000f400da1ca9d5cbdab8477cf3 100644
(file)
--- 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));
}