Re: Custom C function - is palloc broken?

Поиск
Список
Период
Сортировка
От Dan \"Heron\" Myers
Тема Re: Custom C function - is palloc broken?
Дата
Msg-id 481F90C4.6000908@xnapid.com
обсуждение исходный текст
Ответ на Re: Custom C function - is palloc broken?  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: Custom C function - is palloc broken?  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
Craig Ringer wrote:
> I've tested this definition and it produces a DLL that links correctly
> and does so without the warnings of inconsistent DLL linkage produced by
> the original versions (which declared the function __declspec(dllimport)
> then defined it).

Did you actually try to use those functions in a query, or did you just
build the DLL?

With the changes you suggested, I can still successfully build the DLL
(I could build it before, as well), but now EVERY function crashes
Postgres when I try to run it, instead of just the ones that use palloc.

Any ideas?

- Dan

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

Предыдущее
От: "Hans Zaunere"
Дата:
Сообщение: Re: COPY Performance
Следующее
От: Klint Gore
Дата:
Сообщение: Re: operator is not unique: integer || integer