Re: libpq-events windows gotcha

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq-events windows gotcha
Дата
Msg-id 17131.1226506895@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq-events windows gotcha  (Andrew Chernow <ac@esilo.com>)
Ответы Re: libpq-events windows gotcha  (Andrew Chernow <ac@esilo.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: SSL cleanups/hostname verification
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Optimizing COPY