On 11/23/15 15:14, Tom Lane wrote: > Lack of PGDLLIMPORT on the extern declaration, no doubt. > > The fact that we've not heard this before implies that either nobody has > ever tried to use orafce on Windows, or it only very recently grew a > dependency on session_timezone.
Actually, we encountered the situation before couple of months.
A client wanted to use orafce on Windows and the same build problem occurred.
We performed a workaround to edit the PG source to export unresolved symbols,
which I think of not a good solution.
I found a workaround for session_timezone so master is compileable on msvc again without patching PG source