From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Thomas Kellerer <spam_eater(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10 |
Date: | 2017-05-26 21:41:37 |
Message-ID: | 1747f83a-643c-9293-d0ab-e567a4ac61b0@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 05/26/2017 02:30 PM, Tom Lane wrote:
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> writes:
>> Well Thomas is using pg_upgrade from a BigSQL 10beta1 install to upgrade
>> from a 9.6 instance of unknown provenance. pg_upgrade is complaining
>> that the 9.6 cluster has pgxml.dll whereas the 10beta1 cluster does not
>> even though xml2 is installed on both clusters. The question is this a
>> packaging oops on the part of BigSQL or something else?
>
> Actually, looking closer, the error message seems not to be "file not
> found":
>
>>>> could not load library "$libdir/pgxml":
>>>> ERROR: could not load library "d:/etc/postgres-10/pgsql/lib/postgresql/pgxml.dll": unknown error 126
>
> 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.
>
> regards, tom lane
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2017-05-26 21:59:54 | Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10 |
Previous Message | Tom Lane | 2017-05-26 21:30:55 | Re: Postgres 10 Beta1 - pg_upgrade fails on Windows 10 |