diff options
Diffstat (limited to 'src/bin/pg_upgrade/util.c')
-rw-r--r-- | src/bin/pg_upgrade/util.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/bin/pg_upgrade/util.c b/src/bin/pg_upgrade/util.c index 5b24ec09174..aadc1cdd9df 100644 --- a/src/bin/pg_upgrade/util.c +++ b/src/bin/pg_upgrade/util.c @@ -233,21 +233,6 @@ get_user_info(char **user_name_p) /* - * getErrorText() - * - * Returns the text of the most recent error - */ -const char * -getErrorText(void) -{ -#ifdef WIN32 - _dosmaperr(GetLastError()); -#endif - return pg_strdup(strerror(errno)); -} - - -/* * str2uint() * * convert string to oid |