Andrew Chernow <ac@esilo.com> writes:
> Just noticed that the last libpqtypes release was broken on windows when
> dynamically linking. The problem is that windows has two addresses for
> functions, the import library uses a stub "ordinal" address while the
> DLL itself is using the real address; yet another m$ annoyance. This
> breaks the PQEventProc being used as a unique lookup value.
> This is a big gotcha for any libpq-events implementors. It should
> probably be documented in some fashion.
Hmm. Well, it's not too late to reconsider the use of the function
address as a lookup key ... but what else would we use instead?
regards, tom lane