CurrentExtensionObject was Re: dynloader.h missing in prebuilt package for Windows?

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема CurrentExtensionObject was Re: dynloader.h missing in prebuilt package for Windows?
Дата
Msg-id 5685962C.1010605@anastigmatix.net
обсуждение исходный текст
Ответ на Re: dynloader.h missing in prebuilt package for Windows?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: CurrentExtensionObject was Re: dynloader.h missing in prebuilt package for Windows?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
While on the subject of things that could make it or not into 9.5.?,
I see that 9.5.0 already adds PGDLLIMPORT on the global variable
creating_extension, but CurrentExtensionObject on the very next
line of extension.h still doesn't have it.

The simplest way I've come up with in Windows to identify the extension
being created is to create some temporary object, call
getExtensionOfObject() on it, then drop it. A bit circuitous when on
any other platform I can just look at CurrentExtensionObject....

-Chap



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

Предыдущее
От: "Paragon Corporation"
Дата:
Сообщение: Re: IMPORT FOREIGN SCHEMA return create foreign table commands are those further filtered in LIMIT and EXCEPT cases?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: IMPORT FOREIGN SCHEMA return create foreign table commands are those further filtered in LIMIT and EXCEPT cases?