Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10
Date: 2017-05-26 22:02:06
Message-ID: oga8km$g6h$2@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver schrieb am 26.05.2017 um 23:41:
>> If that's coming from port/dynloader/win32.c, as I think it must be
>> because the non-conformant-to-message-style-guidelines phrase "unknown
>> error" appears nowhere else in our tree, then that's an error code that
>> FormatMessage doesn't recognize. Anybody have a clue what it means?
>
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx
>
> "The System Error Codes are very broad. Each one can occur in one of
> many hundreds of locations in the system. Consequently the
> descriptions of these codes cannot be very specific. Use of these
> codes requires some amount of investigation and analysis. You need to
> note both the programmatic and the run-time context in which these
> errors occur. Because these codes are defined in WinError.h for
> anyone to use, sometimes the codes are returned by non-system
> software. Sometimes the code is returned by a function deep in the
> stack and far removed from your code that is handling the error."
>
>
> ERROR_MOD_NOT_FOUND
>
> 126 (0x7E)
>
> The specified module could not be found.

I thought so as well, but as I said the "trace" from ProcessMonitor didn't show any errors.

It didn't even log an attempt to load that dll.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-05-26 22:34:11 Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10
Previous Message Thomas Kellerer 2017-05-26 21:59:54 Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10